long style,
const wxString& name)
{
- m_defaultIcon = (WXHICON) (wxSTD_MDIPARENTFRAME_ICON ? wxSTD_MDIPARENTFRAME_ICON : wxDEFAULT_MDIPARENTFRAME_ICON);
+ m_hDefaultIcon = (WXHICON) (wxSTD_MDIPARENTFRAME_ICON ? wxSTD_MDIPARENTFRAME_ICON : wxDEFAULT_MDIPARENTFRAME_ICON);
m_clientWindow = NULL;
m_currentChild = NULL;
// the MDI parent frame window proc
// ---------------------------------------------------------------------------
-MRESULT wxMDIParentFrame::OS2WindowProc(HWND hwnd,
- WXUINT message,
+MRESULT wxMDIParentFrame::OS2WindowProc(WXUINT message,
WXWPARAM wParam,
WXLPARAM lParam)
{
}
*/
if ( !processed )
- rc = wxFrame::OS2WindowProc(hwnd, message, wParam, lParam);
+ rc = wxFrame::OS2WindowProc(message, wParam, lParam);
return rc;
}
return FALSE;
}
-MRESULT wxMDIParentFrame::OS2DefWindowProc(HWND hwnd,
- WXUINT message,
+MRESULT wxMDIParentFrame::OS2DefWindowProc(WXUINT message,
WXWPARAM wParam,
WXLPARAM lParam)
{
long style,
const wxString& name)
{
- m_defaultIcon = (WXHICON)(wxSTD_MDICHILDFRAME_ICON ? wxSTD_MDICHILDFRAME_ICON
- : wxDEFAULT_MDICHILDFRAME_ICON);
+ m_hDefaultIcon = (WXHICON)(wxSTD_MDICHILDFRAME_ICON ? wxSTD_MDICHILDFRAME_ICON
+ : wxDEFAULT_MDICHILDFRAME_ICON);
SetName(name);
// MDI window proc and message handlers
// ---------------------------------------------------------------------------
-MRESULT wxMDIChildFrame::OS2WindowProc(HWND hwnd,
- WXUINT message,
+MRESULT wxMDIChildFrame::OS2WindowProc(WXUINT message,
WXWPARAM wParam,
WXLPARAM lParam)
{
}
*/
if ( !processed )
- rc = wxFrame::OS2WindowProc(hwnd, message, wParam, lParam);
+ rc = wxFrame::OS2WindowProc(message, wParam, lParam);
return rc;
}
// MDI specific message translation/preprocessing
// ---------------------------------------------------------------------------
-MRESULT wxMDIChildFrame::OS2DefWindowProc(HWND hwnd, WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
+MRESULT wxMDIChildFrame::OS2DefWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
{
// TODO
/*
bool wxMDIChildFrame::OS2TranslateMessage(WXMSG* msg)
{
- return m_acceleratorTable.Translate(GetParent(), msg);
+ return m_acceleratorTable.Translate(GetParent()->GetHWND(), msg);
}
// ---------------------------------------------------------------------------