]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
Watcom does not accept #warning but supports more than MSW port.
[wxWidgets.git] / samples / controls / controls.cpp
index e64bba7b1c50cb76bb05546f670e0f6abd385cae..57daa3fd06170e5156e59904586c8a3efea893c4 100644 (file)
@@ -1768,13 +1768,10 @@ void MyFrame::OnQuit (wxCommandEvent& WXUNUSED(event) )
 
 void MyFrame::OnAbout( wxCommandEvent& WXUNUSED(event) )
 {
-    SetSize(800, 600);
-#if 0
     wxBusyCursor bc;
 
     wxMessageDialog dialog(this, _T("This is a control sample"), _T("About Controls"), wxOK );
     dialog.ShowModal();
-#endif
 }
 
 void MyFrame::OnClearLog(wxCommandEvent& WXUNUSED(event))