]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/wrapsizer/wrapsizer.cpp
Make it possible to use svn-find-native-eols script without svn checkout.
[wxWidgets.git] / samples / wrapsizer / wrapsizer.cpp
index 7ad2c93903b72586c4a66b96f99be39ed3fba0f8..ad2c6fc6bf80858ca83981654fb36db90098db47 100644 (file)
@@ -145,7 +145,7 @@ WrapSizerFrame::WrapSizerFrame()
     // OK Button
     sizerRoot->Add(new wxButton(m_panel, wxID_OK),
                     wxSizerFlags().Centre().DoubleBorder());
-    Connect(wxID_OK, wxEVT_COMMAND_BUTTON_CLICKED,
+    Connect(wxID_OK, wxEVT_BUTTON,
                 wxCommandEventHandler(WrapSizerFrame::OnButton));
 
     // Set sizer for the panel