]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/tglbtn.h
Work around wxFinite() definition conflict with <cmath>.
[wxWidgets.git] / include / wx / motif / tglbtn.h
index b35aa1b5cece6bd0e327bdc50c71df62b62dbf7d..b0af6483bb3411b5ebecd97754d63744709d1a4a 100644 (file)
@@ -47,7 +47,7 @@ private:
     // common part of all constructors
     void Init()
     {
-        m_evtType = wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
+        m_evtType = wxEVT_TOGGLEBUTTON;
     }
 };