access the m_statusText array before the size is set).
XQueryTree usage improved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14128
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxStatusBarUniv::SetFieldsCount(int number, const int *widths)
{
- wxStatusBarBase::SetFieldsCount(number, widths);
-
m_statusText.SetCount(number);
+ wxStatusBarBase::SetFieldsCount(number, widths);
m_widthsAbs.Empty();
}
// Create an application context
bool wxApp::OnInitGui()
{
+ // Eventually this line will be removed, but for
+ // now we don't want to try popping up a dialog
+ // for error messages.
+ delete wxLog::SetActiveTarget(new wxLogStderr);
if (!wxAppBase::OnInitGui())
return FALSE;
bool wxTopLevelWindowX11::Show(bool show)
{
- if ( !wxWindowBase::Show(show) )
- return FALSE;
-
return wxWindowX11::Show(show);
}