- // translate wxWidgets flags to Windows ones
- virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle) const;
+ // override those to return the normal window coordinates even when the
+ // window is minimized
+#ifndef __WXWINCE__
+ virtual void DoGetPosition(int *x, int *y) const;
+ virtual void DoGetSize(int *width, int *height) const;
+#endif // __WXWINCE__
+
+ // Top level windows have different freeze semantics on Windows
+ virtual void DoFreeze();
+ virtual void DoThaw();
+
+ // helper of SetIcons(): calls gets the icon with the size specified by the
+ // given system metrics (SM_C{X|Y}[SM]ICON) from the bundle and sets it
+ // using WM_SETICON with the specified wParam (ICOM_SMALL or ICON_BIG);
+ // 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;