]> git.saurik.com Git - wxWidgets.git/commitdiff
some common code moved from wxWindow/wxFrame into files in common subdir
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 24 Jul 1998 17:06:45 +0000 (17:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 24 Jul 1998 17:06:45 +0000 (17:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/framecmn.cpp
src/common/wincmn.cpp
src/gtk/frame.cpp
src/gtk/window.cpp
src/gtk1/frame.cpp
src/gtk1/window.cpp

index 59e2c3c868b6a9afca270c0b6fc5992afd7fc8aa..19985714d31510ff15cc37baab8b0a3db89c6942 100644 (file)
@@ -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();
index 9783cb3ca330c2660d1099eea200aa068f859c57..28fd6ab1d1c31db41d8468fd9fb78cfa4116ce9a 100644 (file)
@@ -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
index f0c22d5db0909ac6f5116e1684b73b95030d328b..bd1ea693e260463b49143e309b95bebe8a8df67c 100644 (file)
@@ -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"
index d62e1887230ed46d963e6235a73527ea80c775d7..37023c65c9ece8df72d3969e15563ec021c35533 100644 (file)
@@ -2433,5 +2433,3 @@ void wxWindow::OnIdle(wxIdleEvent& event)
 {
   UpdateWindowUI();
 }
-
-#include "../common/wincmn.cpp"
index f0c22d5db0909ac6f5116e1684b73b95030d328b..bd1ea693e260463b49143e309b95bebe8a8df67c 100644 (file)
@@ -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"
index d62e1887230ed46d963e6235a73527ea80c775d7..37023c65c9ece8df72d3969e15563ec021c35533 100644 (file)
@@ -2433,5 +2433,3 @@ void wxWindow::OnIdle(wxIdleEvent& event)
 {
   UpdateWindowUI();
 }
-
-#include "../common/wincmn.cpp"