unused variable warning when !wxMAC_USE_NATIVE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -572,13 +572,14 @@ wxToolBar::~wxToolBar()
|
||||
|
||||
bool wxToolBar::Show( bool show )
|
||||
{
|
||||
bool bResult, ownToolbarInstalled = false;
|
||||
bool bResult;
|
||||
WindowRef tlw = MAC_WXHWND(MacGetTopLevelWindowRef());
|
||||
|
||||
bResult = (tlw != NULL);
|
||||
if (bResult)
|
||||
{
|
||||
#if wxMAC_USE_NATIVE_TOOLBAR
|
||||
bool ownToolbarInstalled = false;
|
||||
MacTopLevelHasNativeToolbar( &ownToolbarInstalled );
|
||||
if (ownToolbarInstalled)
|
||||
{
|
||||
|
Reference in New Issue
Block a user