X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..68f146206ff65cfafdf88c154aece854a0ba4864:/samples/docvwmdi/view.h?ds=sidebyside diff --git a/samples/docvwmdi/view.h b/samples/docvwmdi/view.h index 46ce8a2466..57e4573ae5 100644 --- a/samples/docvwmdi/view.h +++ b/samples/docvwmdi/view.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - #ifndef __VIEWSAMPLEH__ #define __VIEWSAMPLEH__ @@ -51,7 +47,7 @@ public: bool OnCreate(wxDocument *doc, long flags); void OnDraw(wxDC *dc); void OnUpdate(wxView *sender, wxObject *hint = (wxObject *) NULL); - bool OnClose(bool deleteWindow = TRUE); + bool OnClose(bool deleteWindow = true); void OnCut(wxCommandEvent& event); @@ -72,7 +68,7 @@ public: bool OnCreate(wxDocument *doc, long flags); void OnDraw(wxDC *dc); void OnUpdate(wxView *sender, wxObject *hint = (wxObject *) NULL); - bool OnClose(bool deleteWindow = TRUE); + bool OnClose(bool deleteWindow = true); private: DECLARE_DYNAMIC_CLASS(TextEditView)