]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/textctrl.h
1. corrected some owner-drawn buttons bugs
[wxWidgets.git] / include / wx / gtk1 / textctrl.h
index a12d3ccae226a5eb230da466fc279c2c658d98f6..7c18d927dc6d615a7a4dd8f605657ce88a80657c 100644 (file)
@@ -12,7 +12,7 @@
 #define __GTKTEXTCTRLH__
 
 #ifdef __GNUG__
-    #pragma interface
+    #pragma interface "textctrl.h"
 #endif
 
 //-----------------------------------------------------------------------------
@@ -127,9 +127,13 @@ public:
     bool IsOwnGtkWindow( GdkWindow *window );
     void ApplyWidgetStyle();
     void CalculateScrollbar();
+    void OnInternalIdle();
 
     void SetModified() { m_modified = TRUE; }
 
+protected:
+    virtual wxSize DoGetBestSize() const;
+
 private:
     bool        m_modified;
     GtkWidget  *m_text;