]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/control.h
allocate HPEN on demand instead of doing every time a pen property is modified; also...
[wxWidgets.git] / include / wx / gtk / control.h
index f2e5c6dc045aa7b5c84e77aec6f2723f546d865d..5c7ffcc4dce8bc2b876883cf19ae6457356754e7 100644 (file)
@@ -7,19 +7,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __GTKCONTROLH__
-#define __GTKCONTROLH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/window.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxControl;
+#ifndef _WX_GTK_CONTROL_H_
+#define _WX_GTK_CONTROL_H_
 
 typedef struct _GtkLabel GtkLabel;
 typedef struct _GtkFrame GtkFrame;
@@ -59,6 +48,8 @@ public:
 
     virtual wxVisualAttributes GetDefaultAttributes() const;
 
+    virtual void OnInternalIdle();
+
 protected:
     virtual wxSize DoGetBestSize() const;
     void PostCreation(const wxSize& size);
@@ -111,4 +102,4 @@ private:
     DECLARE_DYNAMIC_CLASS(wxControl)
 };
 
-#endif // __GTKCONTROLH__
+#endif // _WX_GTK_CONTROL_H_