git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21653
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( MacGetTopLevelWindow() == NULL )
return ;
- wxPoint client = GetClientAreaOrigin();
+ if ( !MacIsReallyShown() )
+ return ;
+
+ wxPoint client = GetClientAreaOrigin();
int x1 = -client.x;
int y1 = -client.y;
int x2 = m_width - client.x;
if ( MacGetTopLevelWindow() == NULL )
return ;
- wxPoint client = GetClientAreaOrigin();
+ if ( !MacIsReallyShown() )
+ return ;
+
+ wxPoint client = GetClientAreaOrigin();
int x1 = -client.x;
int y1 = -client.y;
int x2 = m_width - client.x;