Fixes to warnings about assigning unused values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -284,7 +284,7 @@ wxStatusBar *wxFrame::OnCreateStatusBar(int number,
|
||||
wxWindowID id,
|
||||
const wxString& name)
|
||||
{
|
||||
wxStatusBar *statusBar = NULL;
|
||||
wxStatusBar *statusBar wxDUMMY_INITIALIZE(NULL);
|
||||
|
||||
#if wxUSE_NATIVE_STATUSBAR
|
||||
if ( !UsesNativeStatusBar() )
|
||||
@@ -616,8 +616,8 @@ void wxFrame::PositionToolBar()
|
||||
|
||||
// Optimise such that we don't have to always resize the toolbar
|
||||
// when the frame changes, otherwise we'll get a lot of flicker.
|
||||
bool heightChanging = TRUE;
|
||||
bool widthChanging = TRUE;
|
||||
bool heightChanging wxDUMMY_INITIALIZE(true);
|
||||
bool widthChanging wxDUMMY_INITIALIZE(true);
|
||||
|
||||
if ( toolbar->GetWindowStyleFlag() & wxTB_VERTICAL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user