<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -551,7 +551,15 @@ public:
     void SetLoggingOff(bool logOff);
     bool GetLoggingOff() const;
     void Veto(bool veto = true);
-    bool GetVeto() const;
+
+    // GetVeto is disabled here because automatic property generation turns .Veto
+    // into a variable.
+    //
+    // either a) make autoprops smart enough to ignore b/c of Veto
+    // or b) make a /NoProperty/ annotation
+    //
+    // bool GetVeto() const;
+    
     void SetCanVeto(bool canVeto);
     bool CanVeto() const;
 };</diff>
      <filename>src/event.sip</filename>
    </modified>
    <modified>
      <diff>@@ -82,7 +82,15 @@ def test_EventObject():
     t.SetValue('test')
     return f
 
+def test_EventVeto():
+    e = wx.CloseEvent()
+    e.Veto(True)
+    assert e.GetVeto()
+    e.Veto(False)
+    assert not e.GetVeto()
+    assert callable(e.Veto)
+
 if __name__ == '__main__':
     a=wx.PySimpleApp()
     test_EventObject().Show()
-    a.MainLoop()
\ No newline at end of file
+    a.MainLoop()</diff>
      <filename>src/tests/test_events.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f14bd49b42d76d95e06162a76a6d5ee321b618ad</id>
    </parent>
  </parents>
  <author>
    <name>Kevin Watters</name>
    <email>kevinwatters@gmail.com</email>
  </author>
  <url>http://github.com/kevinw/wxpy/commit/167e4241e1da8a8e1310c67c409795cf37c8c2f9</url>
  <id>167e4241e1da8a8e1310c67c409795cf37c8c2f9</id>
  <committed-date>2009-06-03T06:39:36-07:00</committed-date>
  <authored-date>2009-06-03T06:39:36-07:00</authored-date>
  <message>Disable wxCloseEvent.GetVeto() until property generation is a bit smarter. Should fix the .Veto method. Also added a failing test case.</message>
  <tree>4091de26e698ca4ef0fc3c8205b5b3d394060127</tree>
  <committer>
    <name>Kevin Watters</name>
    <email>kevinwatters@gmail.com</email>
  </committer>
</commit>
