]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/checkbox.h
check for self assignment in operator=
[wxWidgets.git] / include / wx / palmos / checkbox.h
index d98110bf682cfeba24da6e834ce9a1ae26e3649e..a96f5f9db0d76173c0e269fda745a4e5c292918c 100644 (file)
 #ifndef _WX_CHECKBOX_H_
 #define _WX_CHECKBOX_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "checkbox.h"
-#endif
-
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     wxCheckBox() { }
@@ -59,6 +55,8 @@ protected:
 
 private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxCheckBox)
+    // current state of the checkbox
+    wxCheckBoxState m_state;
 };
 
 #endif