]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/tglbtn.h
Make wxWindow::HasScrollbar() respect wxScrolled::ShowScrollbars().
[wxWidgets.git] / include / wx / motif / tglbtn.h
index b35aa1b5cece6bd0e327bdc50c71df62b62dbf7d..68e731f5f68f966879266c2cf6a151a8d90aa348 100644 (file)
@@ -5,7 +5,6 @@
 // Author:      Mattia Barbon
 // Modified by:
 // Created:     10.02.03
-// RCS-ID:      $Id$
 // Copyright:   (c) 2003 Mattia Barbon
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -47,7 +46,7 @@ private:
     // common part of all constructors
     void Init()
     {
-        m_evtType = wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
+        m_evtType = wxEVT_TOGGLEBUTTON;
     }
 };