X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..052d2fc5818243dadbc1ec54b1120e295304fc55:/samples/docview/view.h?ds=sidebyside diff --git a/samples/docview/view.h b/samples/docview/view.h index 87268d863c..02d05cc97c 100644 --- a/samples/docview/view.h +++ b/samples/docview/view.h @@ -52,7 +52,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 +73,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