#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:
@@ -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()
|
||||
};
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user