wxMSW fixes after wxFrameBase change - seems to work ok too by now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -305,8 +305,6 @@ wxStatusBar *wxFrameBase::OnCreateStatusBar(int number,
|
||||
|
||||
void wxFrameBase::SetStatusText(const wxString& text, int number)
|
||||
{
|
||||
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
|
||||
|
||||
wxCHECK_RET( m_frameStatusBar != NULL, wxT("no statusbar to set text for") );
|
||||
|
||||
m_frameStatusBar->SetStatusText(text, number);
|
||||
@@ -314,8 +312,6 @@ void wxFrameBase::SetStatusText(const wxString& text, int number)
|
||||
|
||||
void wxFrameBase::SetStatusWidths(int n, const int widths_field[] )
|
||||
{
|
||||
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
|
||||
|
||||
wxCHECK_RET( m_frameStatusBar != NULL, wxT("no statusbar to set widths for") );
|
||||
|
||||
m_frameStatusBar->SetStatusWidths(n, widths_field);
|
||||
|
Reference in New Issue
Block a user