]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toplevel.h
Remove duplicated typedef depending on header file version.
[wxWidgets.git] / include / wx / msw / toplevel.h
index 1fb8f26792d6205b42aee86e72d192263f14d480..6684cc6d7060d7b55895b92aa591115d5ab046f3 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
-    wxTopLevelWindowMSW();
+    wxTopLevelWindowMSW() { Init(); }
 
     wxTopLevelWindowMSW(wxWindow *parent,
                         wxWindowID id,
@@ -32,7 +32,12 @@ public:
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = wxDEFAULT_FRAME_STYLE,
-                        const wxString& name = wxFrameNameStr);
+                        const wxString& name = wxFrameNameStr)
+    {
+        Init();
+
+        (void)Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
@@ -53,7 +58,9 @@ public:
     virtual void SetIcons(const wxIconBundle& icons );
     virtual void Restore();
 
+#ifndef __WXWINCE__
     virtual bool SetShape(const wxRegion& region);
+#endif // __WXWINCE__
 
     virtual bool Show(bool show = TRUE);
 
@@ -120,8 +127,5 @@ protected:
     DECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW)
 };
 
-// list of all frames and modeless dialogs
-extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
-
 #endif // _WX_MSW_TOPLEVEL_H_