]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/textctrl.h
MSVC 5 compilation fixes.
[wxWidgets.git] / include / wx / x11 / textctrl.h
index 61d313a51efe63fd9ffd5deb7243974b74cf199d..2dd4196a92e6b2b45971b6432841b76b0a325e49 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __X11TEXTCTRLH__
 #define __X11TEXTCTRLH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "textctrl.h"
 #endif
 
@@ -248,10 +248,10 @@ public:
     void OnEraseBackground( wxEraseEvent &event );
     void OnMouse( wxMouseEvent &event );
     void OnChar( wxKeyEvent &event );
-    void OnIdle( wxIdleEvent &event );
     void OnSetFocus( wxFocusEvent& event );
     void OnKillFocus( wxFocusEvent& event );
 
+    void OnInternalIdle();
     void RefreshLine( int n );
     void RefreshDown( int n );
     void MoveCursor( int new_x, int new_y, bool shift = FALSE, bool centre = FALSE );