]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index cdd8e7fbff1da96ebd1ad95cfbdfbaa4ad320c25..f1f23d3fadcc8b343c35ff6bc93cb04921e70edc 100644 (file)
 
 %{
 #include "wxPython.h"
+
+#ifdef __WXMAC__  // avoid a bug in Carbon headers
+#define scalb scalbn
+#endif
+
 #ifdef __WXMSW__
 #include "myglcanvas.h"
 #else
@@ -169,9 +174,6 @@ public:
 
 %init %{
 
-    wxClassInfo::CleanUpClasses();
-    wxClassInfo::InitializeClasses();
-
 %}
 
 //---------------------------------------------------------------------------