// 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__
// is the window currently iconized?
// wxTopLevelWindowMSW geometry
// ----------------------------------------------------------------------------
-void wxTopLevelWindowMSW::DoGetPosition(int *x, int *y) const
-{
-
#ifndef __WXWINCE__
+void wxTopLevelWindowMSW::DoGetPosition(int *x, int *y) const
+{
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
}
//else: normal case
-#endif // __WXWINCE__
-
wxTopLevelWindowBase::DoGetPosition(x, y);
}
void wxTopLevelWindowMSW::DoGetSize(int *width, int *height) const
{
-#ifndef __WXWINCE__
-
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
}
//else: normal case
-#endif
-
wxTopLevelWindowBase::DoGetSize(width, height);
}
+#endif // __WXWINCE__
+
// ----------------------------------------------------------------------------
// wxTopLevelWindowMSW fullscreen
// ----------------------------------------------------------------------------