]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toplevel.h
commdlg.lib is not in evc3
[wxWidgets.git] / include / wx / msw / toplevel.h
index 1fb8f26792d6205b42aee86e72d192263f14d480..7fec4742cb9c7ef5887a48fa50abc12406c24818 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
 {
 public:
     // constructors and such
-    wxTopLevelWindowMSW();
+    wxTopLevelWindowMSW() { Init(); }
 
     wxTopLevelWindowMSW(wxWindow *parent,
                         wxWindowID id,
 
     wxTopLevelWindowMSW(wxWindow *parent,
                         wxWindowID id,
@@ -32,7 +32,12 @@ public:
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = wxDEFAULT_FRAME_STYLE,
                         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,
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
@@ -53,7 +58,9 @@ public:
     virtual void SetIcons(const wxIconBundle& icons );
     virtual void Restore();
 
     virtual void SetIcons(const wxIconBundle& icons );
     virtual void Restore();
 
+#ifndef __WXWINCE__
     virtual bool SetShape(const wxRegion& region);
     virtual bool SetShape(const wxRegion& region);
+#endif // __WXWINCE__
 
     virtual bool Show(bool show = TRUE);
 
 
     virtual bool Show(bool show = TRUE);