X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afc515904461bec3733682252de9eb1b01af1fe4..3a39df31ff47004a46cfb06f3fb2d3e317f96d2b:/utils/configtool/src/configtoolview.h?ds=sidebyside diff --git a/utils/configtool/src/configtoolview.h b/utils/configtool/src/configtoolview.h index 85002eedf6..5610abbc94 100644 --- a/utils/configtool/src/configtoolview.h +++ b/utils/configtool/src/configtoolview.h @@ -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 @@ -33,15 +33,15 @@ class ctConfigToolView: public wxView { DECLARE_DYNAMIC_CLASS(ctConfigToolView) public: - ctConfigToolView(); - ~ctConfigToolView() {}; - + ctConfigToolView(){}; + ~ctConfigToolView(){}; + //// Overrides 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 @@ -248,13 +248,13 @@ public: // constructors and destructors ctFindReplaceDialog( wxWindow* parent, const wxString& title, long style = 0 ); - + 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,