]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/tglbtn.h
remove wxFindFocusedChild() declaration too as g++ gets upset if an extern function...
[wxWidgets.git] / include / wx / motif / tglbtn.h
index e472a40d25b23f43af189b2b0a53b8e774656796..0fd827b953934f8621306bbf2d0f844a5dd883e3 100644 (file)
@@ -7,7 +7,7 @@
 // Created:     10.02.03
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 Mattia Barbon
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_TOGGLEBUTTON_H_
@@ -37,8 +37,12 @@ public:
                  long style = 0,
                  const wxValidator& val = wxDefaultValidator,
                  const wxString &name = wxCheckBoxNameStr );
+
+protected:
+    virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
 private:
-    DECLARE_DYNAMIC_CLASS(wxToggleButton);
+    DECLARE_DYNAMIC_CLASS(wxToggleButton)
 
     // common part of all constructors
     void Init()