Compilation fixes for gcc-3.2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-08-20 17:02:09 +00:00
parent 8ae94823a3
commit 283ed244ad
8 changed files with 21 additions and 21 deletions

View File

@@ -311,7 +311,7 @@ void wxFrame::PositionStatusBar()
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError("Error setting parent for StautsBar. Error: %s\n", sError);
wxLogError("Error setting parent for StautsBar. Error: %s\n", sError.c_str());
return;
}
}
@@ -454,14 +454,14 @@ void wxFrame::InternalSetMenuBar()
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError("Error setting parent for submenu. Error: %s\n", sError);
wxLogError("Error setting parent for submenu. Error: %s\n", sError.c_str());
}
if (!::WinSetOwner(m_hMenu, m_hFrame))
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError("Error setting parent for submenu. Error: %s\n", sError);
wxLogError("Error setting parent for submenu. Error: %s\n", sError.c_str());
}
::WinSendMsg(m_hFrame, WM_UPDATEFRAME, (MPARAM)FCF_MENU, (MPARAM)0);
} // end of wxFrame::InternalSetMenuBar