#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(); }
// 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
};
// 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
#include "wx/statusbr.h"
#endif
-// FIXME - temporary hack in absence of wxTLW in all ports!
-#ifndef wxTopLevelWindowNative
- #define wxTopLevelWindow wxTopLevelWindowBase
-#endif
-
// ----------------------------------------------------------------------------
// 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