]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/view.h
added GetCurrentSelection() which is the same as GetSelection() for Mac but needed...
[wxWidgets.git] / samples / docvwmdi / view.h
index 46ce8a24662f92ec3e0b34af27427c390ed1503e..8416484d481605ed584d0d7d2c6db31a0c5c36f7 100644 (file)
@@ -51,7 +51,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 +72,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)