]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/tglbtn.cpp
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry...
[wxWidgets.git] / src / os2 / tglbtn.cpp
index a262a3a185f2d2cb6fd01fedac2d6e4df6a45ff8..6269009481bab25b6fa399f39ce8b318684c6fc1 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/msw/tglbtn.cpp
+// Name:        src/os2/tglbtn.cpp
 // Purpose:     Definition of the wxToggleButton class, which implements a
 //              toggle button under wxMSW.
 // Author: John Norris, minor changes by Axel Schlueter
     #pragma hdrstop
 #endif
 
-#include "wx/tglbtn.h"
-
 #if wxUSE_TOGGLEBTN
 
+#include "wx/tglbtn.h"
+
 #ifndef WX_PRECOMP
     #include "wx/button.h"
     #include "wx/brush.h"
@@ -38,8 +38,6 @@
     #include "wx/log.h"
 #endif // WX_PRECOMP
 
-#include "wx/msw/private.h"
-
 // ----------------------------------------------------------------------------
 // macros
 // ----------------------------------------------------------------------------
@@ -154,4 +152,3 @@ void wxToggleButton::Command(wxCommandEvent & event)
 }
 
 #endif // wxUSE_TOGGLEBTN
-