+
+// include the real class declaration
+#if defined(__WXMSW__)
+ #include "wx/msw/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowMSW
+#elif defined(__WXGTK__)
+ #include "wx/gtk/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowGTK
+#elif defined(__WXX11__)
+ #include "wx/x11/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowX11
+#elif defined(__WXMGL__)
+ #include "wx/mgl/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowMGL
+#elif defined(__WXMAC__)
+ #include "wx/mac/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowMac
+#elif defined(__WXPM__)
+ #include "wx/os2/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowOS2
+#endif
+
+#ifdef __WXUNIVERSAL__
+ #include "wx/univ/toplevel.h"
+#else // !__WXUNIVERSAL__
+ #ifdef wxTopLevelWindowNative
+ class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative
+ {
+ public:
+ // construction
+ wxTopLevelWindow() { Init(); }
+ wxTopLevelWindow(wxWindow *parent,
+ wxWindowID id,
+ const wxString& title,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxDEFAULT_FRAME_STYLE,
+ const wxString& name = wxFrameNameStr)
+ {
+ Init();
+ Create(parent, id, title, pos, size, style, name);
+ }
+
+ DECLARE_DYNAMIC_CLASS(wxTopLevelWindow)
+ };
+ #endif // wxTopLevelWindowNative
+#endif // __WXUNIVERSAL__/!__WXUNIVERSAL__
+
+
+#endif // _WX_TOPLEVEL_BASE_H_