projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor corrections to the documentations.
[wxWidgets.git]
/
src
/
os2
/
frame.cpp
diff --git
a/src/os2/frame.cpp
b/src/os2/frame.cpp
index 57db7ded2886b1dddc2f078598e5119812336fdb..bfa1f560b803389257ba01e4680e9ced405f83f4 100644
(file)
--- a/
src/os2/frame.cpp
+++ b/
src/os2/frame.cpp
@@
-127,7
+127,8
@@
bool wxFrame::Create( wxWindow* pParent,
wxFrame::~wxFrame()
{
wxFrame::~wxFrame()
{
- m_isBeingDeleted = true;
+ SendDestroyEvent();
+
DeleteAllBars();
} // end of wxFrame::~wxFrame
DeleteAllBars();
} // end of wxFrame::~wxFrame
@@
-280,7
+281,7
@@
void wxFrame::PositionStatusBar()
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
- wxLogError(
_
T("Error setting parent for StatusBar. Error: %s\n"), sError.c_str());
+ wxLogError(
wx
T("Error setting parent for StatusBar. Error: %s\n"), sError.c_str());
return;
}
}
return;
}
}
@@
-404,14
+405,14
@@
void wxFrame::InternalSetMenuBar()
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
- wxLogError(
_
T("Error setting parent for submenu. Error: %s\n"), sError.c_str());
+ wxLogError(
wx
T("Error setting parent for submenu. Error: %s\n"), sError.c_str());
}
if (!::WinSetOwner(m_hMenu, m_hFrame))
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
}
if (!::WinSetOwner(m_hMenu, m_hFrame))
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
- wxLogError(
_
T("Error setting parent for submenu. Error: %s\n"), sError.c_str());
+ wxLogError(
wx
T("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
}
::WinSendMsg(m_hFrame, WM_UPDATEFRAME, (MPARAM)FCF_MENU, (MPARAM)0);
} // end of wxFrame::InternalSetMenuBar