]> git.saurik.com Git - wxWidgets.git/commitdiff
#pragma interface/implementation for gcc added
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 May 1999 14:47:05 +0000 (14:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 May 1999 14:47:05 +0000 (14:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h
src/common/wincmn.cpp

index 5edeba5569bf5be5bb50dad087eae7b7c7b98fe3..44a40841931e4071667b916d3113fa995fb727fd 100644 (file)
 #ifndef _WX_WINDOW_H_BASE_
 #define _WX_WINDOW_H_BASE_
 
+#ifdef __GNUG__
+    #pragma interface "windowbase.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // headers which we must include here
 // ----------------------------------------------------------------------------
@@ -719,6 +723,10 @@ private:
     // contains the last id generated by NewControlId
     static int ms_lastControlId;
 
+    // no copy ctor/assignment operator
+    wxWindowBase(const wxWindowBase&);
+    wxWindowBase& operator=(const wxWindowBase&);
+
     DECLARE_EVENT_TABLE()
 };
 
index fd7ded32acbc7a10716bbb0e39957b0126a75b6b..66390ee06f8643628f1402ae19110cccd9e8211b 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
+#ifdef __GNUG__
+    #pragma implementation "windowbase.h"
+#endif
+
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -78,7 +82,6 @@ END_EVENT_TABLE()
 void wxWindowBase::InitBase()
 {
     // no window yet, no parent nor children
-//    m_widget = (WXWidget)0;
     m_parent = (wxWindow *)NULL;
     m_windowId = -1;
     m_children.DeleteContents( FALSE ); // don't auto delete node data