git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44496
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// override those to return the normal window coordinates even when the
// window is minimized
// override those to return the normal window coordinates even when the
// window is minimized
virtual void DoGetPosition(int *x, int *y) const;
virtual void DoGetSize(int *width, int *height) const;
virtual void DoGetPosition(int *x, int *y) const;
virtual void DoGetSize(int *width, int *height) const;
// is the window currently iconized?
// is the window currently iconized?
// wxTopLevelWindowMSW geometry
// ----------------------------------------------------------------------------
// wxTopLevelWindowMSW geometry
// ----------------------------------------------------------------------------
-void wxTopLevelWindowMSW::DoGetPosition(int *x, int *y) const
-{
-
+void wxTopLevelWindowMSW::DoGetPosition(int *x, int *y) const
+{
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
wxTopLevelWindowBase::DoGetPosition(x, y);
}
void wxTopLevelWindowMSW::DoGetSize(int *width, int *height) const
{
wxTopLevelWindowBase::DoGetPosition(x, y);
}
void wxTopLevelWindowMSW::DoGetSize(int *width, int *height) const
{
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
wxTopLevelWindowBase::DoGetSize(width, height);
}
wxTopLevelWindowBase::DoGetSize(width, height);
}
// ----------------------------------------------------------------------------
// wxTopLevelWindowMSW fullscreen
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxTopLevelWindowMSW fullscreen
// ----------------------------------------------------------------------------