some common code moved from wxWindow/wxFrame into files in common subdir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,11 +3,13 @@
|
|||||||
// Purpose: common (for all platforms) wxFrame functions
|
// Purpose: common (for all platforms) wxFrame functions
|
||||||
// Author: Julian Smart, Vadim Zeitlin
|
// Author: Julian Smart, Vadim Zeitlin
|
||||||
// Created: 01/02/97
|
// Created: 01/02/97
|
||||||
// Id:
|
// Id: $Id$
|
||||||
// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
|
// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include "wx/frame.h"
|
||||||
|
|
||||||
void wxFrame::OnIdle(wxIdleEvent& event)
|
void wxFrame::OnIdle(wxIdleEvent& event)
|
||||||
{
|
{
|
||||||
DoMenuUpdates();
|
DoMenuUpdates();
|
||||||
|
@@ -9,6 +9,9 @@
|
|||||||
// Licence: wxWindows license
|
// Licence: wxWindows license
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
#include "wx/window.h"
|
||||||
|
|
||||||
// Do Update UI processing for child controls
|
// Do Update UI processing for child controls
|
||||||
|
|
||||||
// TODO: should this be implemented for the child window rather
|
// TODO: should this be implemented for the child window rather
|
||||||
|
@@ -372,5 +372,3 @@ void wxFrame::SetSizeHints(int minW, int minH, int maxW, int maxH, int incW)
|
|||||||
// no idea about what incW might be
|
// no idea about what incW might be
|
||||||
gtk_widget_set_usize(m_widget, minW, minH);
|
gtk_widget_set_usize(m_widget, minW, minH);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../common/framecmn.cpp"
|
|
||||||
|
@@ -2433,5 +2433,3 @@ void wxWindow::OnIdle(wxIdleEvent& event)
|
|||||||
{
|
{
|
||||||
UpdateWindowUI();
|
UpdateWindowUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../common/wincmn.cpp"
|
|
||||||
|
@@ -372,5 +372,3 @@ void wxFrame::SetSizeHints(int minW, int minH, int maxW, int maxH, int incW)
|
|||||||
// no idea about what incW might be
|
// no idea about what incW might be
|
||||||
gtk_widget_set_usize(m_widget, minW, minH);
|
gtk_widget_set_usize(m_widget, minW, minH);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../common/framecmn.cpp"
|
|
||||||
|
@@ -2433,5 +2433,3 @@ void wxWindow::OnIdle(wxIdleEvent& event)
|
|||||||
{
|
{
|
||||||
UpdateWindowUI();
|
UpdateWindowUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../common/wincmn.cpp"
|
|
||||||
|
Reference in New Issue
Block a user