Fixed status bar probs,

Compilation fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2000-02-05 17:56:26 +00:00
parent 658fb8e6c5
commit 8febdd3905
6 changed files with 20 additions and 1 deletions

View File

@ -211,7 +211,6 @@
\input sashevt.tex
\input sashlayw.tex
\input sashwin.tex
\input sbsizer.tex
\input screendc.tex
\input scrolbar.tex
\input scrlwevt.tex
@ -230,6 +229,7 @@
\input splitter.tex
\input statbmp.tex
\input statbox.tex
\input sbsizer.tex
\input statline.tex
\input stattext.tex
\input statusbr.tex

View File

@ -72,6 +72,8 @@ public:
virtual void SetMenuBar( wxMenuBar *menuBar );
#if wxUSE_STATUSBAR
virtual void PositionStatusBar();
virtual wxStatusBar* CreateStatusBar(int number = 1,
long style = wxST_SIZEGRIP,
wxWindowID id = 0,

View File

@ -72,6 +72,8 @@ public:
virtual void SetMenuBar( wxMenuBar *menuBar );
#if wxUSE_STATUSBAR
virtual void PositionStatusBar();
virtual wxStatusBar* CreateStatusBar(int number = 1,
long style = wxST_SIZEGRIP,
wxWindowID id = 0,

View File

@ -2447,6 +2447,7 @@ void wxGrid::OnKeyDown( wxKeyEvent& event )
{
event.Skip();
}
break;
case WXK_RETURN:
if ( event.ControlDown() )

View File

@ -985,6 +985,13 @@ wxStatusBar* wxFrame::CreateStatusBar(int number,
return wxFrameBase::CreateStatusBar( number, style, id, name );
}
void wxFrame::PositionStatusBar()
{
if ( !m_frameStatusBar )
return;
m_sizeSet = FALSE;
}
#endif // wxUSE_STATUSBAR
// ----------------------------------------------------------------------------

View File

@ -985,6 +985,13 @@ wxStatusBar* wxFrame::CreateStatusBar(int number,
return wxFrameBase::CreateStatusBar( number, style, id, name );
}
void wxFrame::PositionStatusBar()
{
if ( !m_frameStatusBar )
return;
m_sizeSet = FALSE;
}
#endif // wxUSE_STATUSBAR
// ----------------------------------------------------------------------------