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:
parent
d37a02d0d5
commit
439b3bf1f5
@ -3,11 +3,13 @@
|
||||
// Purpose: common (for all platforms) wxFrame functions
|
||||
// Author: Julian Smart, Vadim Zeitlin
|
||||
// Created: 01/02/97
|
||||
// Id:
|
||||
// Id: $Id$
|
||||
// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/frame.h"
|
||||
|
||||
void wxFrame::OnIdle(wxIdleEvent& event)
|
||||
{
|
||||
DoMenuUpdates();
|
||||
|
@ -9,6 +9,9 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/window.h"
|
||||
|
||||
// Do Update UI processing for child controls
|
||||
|
||||
// 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
|
||||
gtk_widget_set_usize(m_widget, minW, minH);
|
||||
}
|
||||
|
||||
#include "../common/framecmn.cpp"
|
||||
|
@ -2433,5 +2433,3 @@ void wxWindow::OnIdle(wxIdleEvent& event)
|
||||
{
|
||||
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
|
||||
gtk_widget_set_usize(m_widget, minW, minH);
|
||||
}
|
||||
|
||||
#include "../common/framecmn.cpp"
|
||||
|
@ -2433,5 +2433,3 @@ void wxWindow::OnIdle(wxIdleEvent& event)
|
||||
{
|
||||
UpdateWindowUI();
|
||||
}
|
||||
|
||||
#include "../common/wincmn.cpp"
|
||||
|
Loading…
Reference in New Issue
Block a user