]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toplevel.h
Replace wxPrintout::SetIsPreview() with SetPreview().
[wxWidgets.git] / include / wx / msw / toplevel.h
index 1af76489f9729200e01be6915cf2172555cc5a6a..fb242e68f79fec070131745d5c7407167ecc17c2 100644 (file)
@@ -64,6 +64,7 @@ public:
 
     virtual bool Show(bool show = true);
 
+    virtual void ShowWithoutActivating();
     virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
     virtual bool IsFullScreen() const { return m_fsIsShowing; }
 
@@ -146,6 +147,12 @@ protected:
     // returns true if the icon was set
     bool DoSelectAndSetIcon(const wxIconBundle& icons, int smX, int smY, int i);
 
+    // override wxWindow virtual method to use CW_USEDEFAULT if necessary
+    virtual void MSWGetCreateWindowCoords(const wxPoint& pos,
+                                          const wxSize& size,
+                                          int& x, int& y,
+                                          int& w, int& h) const;
+
 
     // is the window currently iconized?
     bool m_iconized;
@@ -206,7 +213,7 @@ private:
 #endif
 
     DECLARE_EVENT_TABLE()
-    DECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW)
+    wxDECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW);
 };
 
 #endif // _WX_MSW_TOPLEVEL_H_