]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows.i
More fixes and updates
[wxWidgets.git] / wxPython / src / windows.i
index 1aab58d1dae6578c9604388a1ffa2883aefa62c6..f164ac73482345af9f33f4ae4af2f458e67bef4a 100644 (file)
@@ -401,8 +401,10 @@ public:
     void SetAcceleratorTable(const wxAcceleratorTable& accel);
     wxAcceleratorTable *GetAcceleratorTable();
 
-
-    %name(base_OnPaint)void OnPaint(wxPaintEvent& event);
+#ifdef __WXMSW__
+    // This seems pretty bogus, but is currently needed for SplitTree
+    void OnPaint(wxPaintEvent& event);
+#endif
 };