]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/checkbox.h
fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44...
[wxWidgets.git] / include / wx / gtk1 / checkbox.h
index 2d262a097823b7d3a19bad8d44f36936330cde32..386a1bcb12efc810ae51b995e3b101cab5557d38 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        wx/gtk/checkbox.h
+// Name:        wx/gtk1/checkbox.h
 // Purpose:
 // Author:      Robert Roebling
 // Id:          $Id$
 #ifndef __GTKCHECKBOXH__
 #define __GTKCHECKBOXH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface
-#endif
-
 // ----------------------------------------------------------------------------
 // wxCheckBox
 // ----------------------------------------------------------------------------
 
-class wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     wxCheckBox();
@@ -45,10 +41,13 @@ public:
     virtual void SetLabel( const wxString& label );
     virtual bool Enable( bool enable = TRUE );
 
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
     // implementation
     // --------------
 
-    void ApplyWidgetStyle();
+    void DoApplyWidgetStyle(GtkRcStyle *style);
     bool IsOwnGtkWindow( GdkWindow *window );
     void OnInternalIdle();