]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/tglbtn.h
Implement GetPageText for the OSX WebKit implementation.
[wxWidgets.git] / include / wx / palmos / tglbtn.h
index 4b8f99def884619020acc28e3e274f2c5a1cbbca..def85cdf5d8f9fe548161b968d0d46270d1b5cc6 100644 (file)
 #ifndef _WX_TOGGLEBUTTON_H_
 #define _WX_TOGGLEBUTTON_H_
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr;
+#include "wx/checkbox.h" // wxCheckBoxNameStr, in datacmn.cpp
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxToggleButton : public wxControl
+class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
 {
 public:
     wxToggleButton() {}
@@ -46,6 +46,9 @@ public:
 
     virtual void Command(wxCommandEvent& event);
 
+    // send a notification event, return true if processed
+    bool SendClickEvent();
+
 protected:
     virtual wxSize DoGetBestSize() const;
     virtual wxBorder GetDefaultBorder() const;