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:
@@ -20,13 +20,7 @@
|
|||||||
#include "wx/containr.h"
|
#include "wx/containr.h"
|
||||||
#include "wx/toplevel.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
|
class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxDialogBase() { Init(); }
|
wxDialogBase() { Init(); }
|
||||||
@@ -54,11 +48,8 @@ protected:
|
|||||||
// the return code from modal dialog
|
// the return code from modal dialog
|
||||||
int m_returnCode;
|
int m_returnCode;
|
||||||
|
|
||||||
// FIXME - temporary hack in absence of wxTLW !!
|
|
||||||
#ifdef wxTopLevelWindowNative
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
WX_DECLARE_CONTROL_CONTAINER();
|
WX_DECLARE_CONTROL_CONTAINER();
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -44,12 +44,7 @@ class WXDLLEXPORT wxToolBar;
|
|||||||
// CreateXXXBar() is called.
|
// CreateXXXBar() is called.
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// FIXME - temporary hack in absence of wxTLW !!
|
|
||||||
#ifndef wxTopLevelWindowNative
|
|
||||||
class WXDLLEXPORT wxFrameBase : public wxTopLevelWindowBase
|
|
||||||
#else
|
|
||||||
class WXDLLEXPORT wxFrameBase : public wxTopLevelWindow
|
class WXDLLEXPORT wxFrameBase : public wxTopLevelWindow
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// construction
|
// construction
|
||||||
|
@@ -41,11 +41,6 @@
|
|||||||
#include "wx/statusbr.h"
|
#include "wx/statusbr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// FIXME - temporary hack in absence of wxTLW in all ports!
|
|
||||||
#ifndef wxTopLevelWindowNative
|
|
||||||
#define wxTopLevelWindow wxTopLevelWindowBase
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// event table
|
// event table
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -46,10 +46,7 @@ END_EVENT_TABLE()
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
// FIXME: some platforms don't have wxTopLevelWindow yet
|
IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
|
||||||
#ifdef wxTopLevelWindowNative
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
|
Reference in New Issue
Block a user