X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a18b162dc101592073a3bd26fd49e27a227d8280..74bcba0e3300839a9184ccaacc25dd5c05c1fad3:/wxPython/src/windows.i diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index 1aab58d1da..f164ac7348 100644 --- a/wxPython/src/windows.i +++ b/wxPython/src/windows.i @@ -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 };