git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18619
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/containr.h"
#include "wx/toplevel.h"
#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
class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
{
public:
wxDialogBase() { Init(); }
{
public:
wxDialogBase() { Init(); }
// the return code from modal dialog
int m_returnCode;
// 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();
DECLARE_EVENT_TABLE()
WX_DECLARE_CONTROL_CONTAINER();
// 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
{
public:
// construction
{
public:
// construction
#include "wx/statusbr.h"
#endif
#include "wx/statusbr.h"
#endif
-// FIXME - temporary hack in absence of wxTLW in all ports!
-#ifndef wxTopLevelWindowNative
- #define wxTopLevelWindow wxTopLevelWindowBase
-#endif
-
// ----------------------------------------------------------------------------
// event table
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// event table
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
// implementation
// ============================================================================
-// FIXME: some platforms don't have wxTopLevelWindow yet
-#ifdef wxTopLevelWindowNative
- IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
-#endif
+IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
// ----------------------------------------------------------------------------
// construction/destruction
// ----------------------------------------------------------------------------
// construction/destruction