]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/cocoa/private.h
Fix compilation of wx/scopeguard.h with g++ -fno-exceptions.
[wxWidgets.git] / include / wx / osx / cocoa / private.h
index f7ee0900a47d1e9f7e7da46fdf8ff62b4bb36c97..709a39dbbef0b27f23a1a5f2f7383fa2a34f164a 100644 (file)
     #import <Cocoa/Cocoa.h>
 #endif
 
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
+// available in 10.4 but not in the headers
+enum {
+    kEventMouseScroll             = 11
+};
+#endif
 //
 // shared between Cocoa and Carbon
 //
@@ -173,6 +179,10 @@ public :
 
     virtual void                controlAction(WXWidget slf, void* _cmd, void* sender);
     virtual void                controlDoubleAction(WXWidget slf, void* _cmd, void *sender);
+    
+    // for wxTextCtrl-derived classes, put here since they don't all derive
+    // from the same pimpl class.
+    virtual void                controlTextDidChange();
 
 protected:
     WXWidget m_osxView;