X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b61c41b71b25ecb2a125ac14c7257a43dc5d254..9149aa8c961e1bfccc159526eeee5dc089eaf906:/samples/validate/validate.h diff --git a/samples/validate/validate.h b/samples/validate/validate.h index 0275883e09..e8b8a60182 100644 --- a/samples/validate/validate.h +++ b/samples/validate/validate.h @@ -1,15 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// // Name: validate.h -// Purpose: wxWindows validation sample +// Purpose: wxWidgets validation sample // Author: Julian Smart // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma interface #endif @@ -32,7 +32,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);