]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/configtoolview.h
fix typo
[wxWidgets.git] / utils / configtool / src / configtoolview.h
index 85002eedf60ec5e2e9634e83d24fb868d3666b5a..ead6ab767c63cbe85f51aeb0ba1977289733a4ef 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _CT_CONFIGTOOLVIEW_H_
 #define _CT_CONFIGTOOLVIEW_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "configtoolview.cpp"
 #endif
 
@@ -41,7 +41,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 OnChangeFilename();
 
 //// Operations
@@ -252,9 +252,9 @@ public:
     void OnFind(wxFindDialogEvent& event);
     void OnClose(wxFindDialogEvent& event);
 
-    // If wrap is TRUE, go back to the beginning if at the end of the
+    // If wrap is true, go back to the beginning if at the end of the
     // document.
-    bool DoFind(const wxString& textToFind, bool matchCase, bool wholeWord, bool wrap = TRUE);
+    bool DoFind(const wxString& textToFind, bool matchCase, bool wholeWord, bool wrap = true);
 
     ctConfigItem* FindNextItem(ctConfigToolDoc* doc,
                                                       ctConfigItem* item,