X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..02f51f1f140e181d97eb38c83b9f272292e743d0:/samples/validate/validate.h?ds=sidebyside diff --git a/samples/validate/validate.h b/samples/validate/validate.h index 3a59f7bb63..98414f05f1 100644 --- a/samples/validate/validate.h +++ b/samples/validate/validate.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: validate.h -// Purpose: wxWindows validation sample +// Purpose: wxWidgets validation sample // Author: Julian Smart // Modified by: // Created: 04/01/98 @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma interface -#endif - #include "wx/app.h" #include "wx/combobox.h" #include "wx/dialog.h" @@ -32,7 +28,7 @@ public: class MyFrame : public wxFrame { public: - MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h); + MyFrame(wxFrame *frame, const wxString&title, int x, int y, int w, int h); void OnQuit(wxCommandEvent& event); void OnTestDialog(wxCommandEvent& event);