git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41272
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int cw, ch;
GetSize( &cw , &ch ) ;
int cw, ch;
GetSize( &cw , &ch ) ;
-
- int statusX, statusY;
- GetStatusBar()->GetClientSize(&statusX, &statusY);
+ int statusX = 0 ;
+ int statusY = 0 ;
+
+#if wxUSE_STATUSBAR
if (GetStatusBar() && GetStatusBar()->IsShown())
{
if (GetStatusBar() && GetStatusBar()->IsShown())
{
+ GetStatusBar()->GetClientSize(&statusX, &statusY);
if (GetToolBar())
{
int tx, ty, tw, th;
if (GetToolBar())
{
int tx, ty, tw, th;
}
void wxFrame::PositionBars()
}
void wxFrame::PositionBars()