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:
@@ -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;
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user