X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8b75e9498c5664d5e960b6161bcb3d2857a0d53..33cc6200a8c797c72536ca319148c0f712cf658a:/src/stc/PlatWX.cpp?ds=sidebyside diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index b3232e6aa5..8408f88a72 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -18,11 +18,6 @@ #include "wx/stc/stc.h" -#ifdef __WXGTK__ -#include -#endif - - Point Point::FromLong(long lpoint) { return Point(lpoint & 0xFFFF, lpoint >> 16); } @@ -806,6 +801,14 @@ public: event.Skip(); } +#ifdef __WXMAC__ + virtual bool Show(bool show = true) { + bool rv = wxWindow::Show(show); + GetParent()->Refresh(false); + return rv; + } +#endif + void OnActivate(wxListEvent& WXUNUSED(event)) { doubleClickAction(doubleClickActionData); }