Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, ::.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-08-25 12:17:55 +00:00
parent 0de41e82dc
commit cbe874bd32
10 changed files with 155 additions and 155 deletions

View File

@@ -39,7 +39,7 @@ public:
wxFindReplaceDialogImpl *GetImpl() const { return m_impl; }
// override some base class virtuals
virtual bool Show(bool show = TRUE);
virtual bool Show(bool show = true);
virtual void SetTitle( const wxString& title);
virtual wxString GetTitle() const;

View File

@@ -29,7 +29,7 @@ public:
// Enumerate the fonts.
bool Enumerate();
// Stop enumeration if FALSE is returned.
// Stop enumeration if false is returned.
// By default, the enumerator stores the facenames in a list for
// retrieval via GetFacenames().
virtual bool OnFont(const wxFont& font);

View File

@@ -57,7 +57,7 @@ public:
// Toolbar
#if wxUSE_TOOLBAR
virtual wxToolBar* CreateToolBar(long style = -1,
wxWindowID id = -1,
wxWindowID id = wxID_ANY,
const wxString& name = wxToolBarNameStr);
virtual void PositionToolBar();
@@ -103,7 +103,7 @@ public:
virtual void SendSizeEvent();
virtual wxPoint GetClientAreaOrigin() const;
protected:
// common part of all ctors
void Init();
@@ -133,7 +133,7 @@ protected:
// handle WM_INITMENUPOPUP message
bool HandleInitMenuPopup(WXHMENU hMenu);
virtual bool IsMDIChild() const { return FALSE; }
virtual bool IsMDIChild() const { return false; }
// get default (wxWidgets) icon for the frame
virtual WXHICON GetDefaultIcon() const;