X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d0bf05abec81882d1b0ab2f2c41c9dda83f72f7..62f864c32c53356b7228591c85b14abc491c46f0:/src/mac/carbon/toolbar.cpp diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 59fa7c25a1..dac5bb5f9a 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -525,7 +525,7 @@ bool wxToolBar::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons long style, const wxString& name) { if ( !wxToolBarBase::Create( parent , id , pos , size , style ) ) - return FALSE ; + return false ; OSStatus err = 0; @@ -763,7 +763,7 @@ bool wxToolBar::MacInstallNativeToolbar(bool usesNative) bool wxToolBar::Realize() { if (m_tools.GetCount() == 0) - return FALSE; + return false; int x = m_xMargin + kwxMacToolBarLeftMargin; int y = m_yMargin + kwxMacToolBarTopMargin; @@ -939,7 +939,7 @@ bool wxToolBar::Realize() SetSize( maxWidth, maxHeight ); InvalidateBestSize(); #endif - return TRUE; + return true; } void wxToolBar::SetToolBitmapSize(const wxSize& size) @@ -1245,7 +1245,7 @@ bool wxToolBar::DoDeleteTool(size_t WXUNUSED(pos), wxToolBarToolBase *toolbase) } InvalidateBestSize(); - return TRUE ; + return true ; } void wxToolBar::OnPaint(wxPaintEvent& event)