X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..04bf08b7e26f35a177b46948789505c316b2df28:/samples/validate/validate.h diff --git a/samples/validate/validate.h b/samples/validate/validate.h index 3a59f7bb63..546cfb254f 100644 --- a/samples/validate/validate.h +++ b/samples/validate/validate.h @@ -9,7 +9,7 @@ // 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);