summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8facbb7)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10798
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// if ( !IsShown() )
// return ;
// if ( !IsShown() )
// return ;
- wxMacDrawingHelper focus( this ) ;
+ wxMacDrawingClientHelper focus( this ) ;
- Rect clientrect = { 0 , 0 , m_height , m_width } ;
+ wxPoint client ;
+ client = GetClientAreaOrigin( ) ;
+ Rect clientrect = { -client.y , -client.x , m_height - client.y , m_width - client.x} ;
// ClipRect( &clientrect ) ;
if ( rect )
// ClipRect( &clientrect ) ;
if ( rect )
// if ( !IsShown() )
// return ;
// if ( !IsShown() )
// return ;
- wxMacDrawingHelper focus( this ) ;
+ wxMacDrawingClientHelper focus( this ) ;
- Rect clientrect = { 0 , 0 , m_height , m_width } ;
+ wxPoint client ;
+ client = GetClientAreaOrigin( ) ;
+ Rect clientrect = { -client.y , -client.x , m_height - client.y , m_width - client.x} ;
// ClipRect( &clientrect ) ;
if ( rect )
// ClipRect( &clientrect ) ;
if ( rect )