]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/tglbtn.h
override GetDefaultBorder() to return wxBORDER_NONE, radio buttons shouldn't have...
[wxWidgets.git] / include / wx / palmos / tglbtn.h
index 4b8f99def884619020acc28e3e274f2c5a1cbbca..820768cca032258b7279015bb925f66b6f414e64 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_TOGGLEBUTTON_H_
 #define _WX_TOGGLEBUTTON_H_
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr;
+WXDLLEXPORT_DATA(extern const wxChar) wxCheckBoxNameStr[];
 
 // Checkbox item (single checkbox)
 class WXDLLEXPORT wxToggleButton : public wxControl
@@ -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;