#include <ctype.h>
+#define Point macPoint // These names are also defined by some mac headers so
+#define Style macStyle // change their names, and then undef before we need them
+
#include <wx/wx.h>
#include <wx/encconv.h>
#include <wx/listctrl.h>
#include <wx/image.h>
#include <wx/imaglist.h>
+#undef Point
+#undef Style
+
#include "Platform.h"
#include "PlatWX.h"
#include "wx/stc/stc.h"
-#ifdef __WXGTK__
-#include <gtk/gtk.h>
-#endif
-
Point Point::FromLong(long lpoint) {
return Point(lpoint & 0xFFFF, lpoint >> 16);
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);
}