]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/button.cpp
fixing naming to GetScaleFactor, adding default Create with a dc parameter
[wxWidgets.git] / src / os2 / button.cpp
index ce0c00f81817091a1ee6aaa1d63ba89a16e8a74e..92fda2b731317d182b2215c3d4066d33da14aeab 100644 (file)
@@ -221,7 +221,7 @@ void wxButton::Command (
 
 bool wxButton::SendClickEvent()
 {
-    wxCommandEvent                  vEvent( wxEVT_COMMAND_BUTTON_CLICKED
+    wxCommandEvent                  vEvent( wxEVT_BUTTON
                                            ,GetId()
                                           );
 
@@ -381,7 +381,7 @@ WXDWORD wxButton::OS2GetStyle(
 
     //
     // We must use WS_CLIPSIBLINGS with the buttons or they would draw over
-    // each other in any resizeable dialog which has more than one button in
+    // each other in any resizable dialog which has more than one button in
     // the bottom
     //
     dwStyle |= WS_CLIPSIBLINGS;