removed wxTLW cruft now that all ports have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5283098e13
commit
ddbfcced85
@ -20,13 +20,7 @@
|
||||
#include "wx/containr.h"
|
||||
#include "wx/toplevel.h"
|
||||
|
||||
// FIXME - temporary hack in absence of wxTLW !!
|
||||
#ifndef wxTopLevelWindowNative
|
||||
#include "wx/panel.h"
|
||||
class WXDLLEXPORT wxDialogBase : public wxPanel
|
||||
#else
|
||||
class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
wxDialogBase() { Init(); }
|
||||
@ -54,11 +48,8 @@ protected:
|
||||
// the return code from modal dialog
|
||||
int m_returnCode;
|
||||
|
||||
// FIXME - temporary hack in absence of wxTLW !!
|
||||
#ifdef wxTopLevelWindowNative
|
||||
DECLARE_EVENT_TABLE()
|
||||
WX_DECLARE_CONTROL_CONTAINER();
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
@ -44,12 +44,7 @@ class WXDLLEXPORT wxToolBar;
|
||||
// CreateXXXBar() is called.
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// FIXME - temporary hack in absence of wxTLW !!
|
||||
#ifndef wxTopLevelWindowNative
|
||||
class WXDLLEXPORT wxFrameBase : public wxTopLevelWindowBase
|
||||
#else
|
||||
class WXDLLEXPORT wxFrameBase : public wxTopLevelWindow
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
// construction
|
||||
|
@ -41,11 +41,6 @@
|
||||
#include "wx/statusbr.h"
|
||||
#endif
|
||||
|
||||
// FIXME - temporary hack in absence of wxTLW in all ports!
|
||||
#ifndef wxTopLevelWindowNative
|
||||
#define wxTopLevelWindow wxTopLevelWindowBase
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// event table
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -46,10 +46,7 @@ END_EVENT_TABLE()
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
// FIXME: some platforms don't have wxTopLevelWindow yet
|
||||
#ifdef wxTopLevelWindowNative
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
|
||||
#endif
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// construction/destruction
|
||||
|
Loading…
Reference in New Issue
Block a user