#pragma interface/implementation for gcc added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-05-11 14:47:05 +00:00
parent 01b43e0302
commit 58654ed0f2
2 changed files with 12 additions and 1 deletions

View File

@@ -12,6 +12,10 @@
#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()
};

View File

@@ -17,6 +17,10 @@
// 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