X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..f4f5d5697dc5e34a5582061dbd857d1cd4326f91:/samples/docview/view.h diff --git a/samples/docview/view.h b/samples/docview/view.h index 87268d863c..35d5fbf7ef 100644 --- a/samples/docview/view.h +++ b/samples/docview/view.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - #ifndef __VIEWSAMPLEH__ #define __VIEWSAMPLEH__ @@ -52,7 +48,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); @@ -73,7 +69,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); }; #endif