modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "wx/dcclient.h"
|
||||
#include "wx/dcmemory.h"
|
||||
#include "wx/region.h"
|
||||
#include "wx/window.h"
|
||||
#include <math.h>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -113,7 +114,7 @@ wxPaintDC::wxPaintDC(wxWindow *window)
|
||||
m_macPort = UMAGetWindowPort( windowref ) ;
|
||||
MacSetupPort() ;
|
||||
m_ok = TRUE ;
|
||||
long x , y ,w , h ;
|
||||
wxCoord x , y ,w , h ;
|
||||
window->GetUpdateRegion().GetBox( x , y , w , h ) ;
|
||||
m_minY = m_minX = 0;
|
||||
wxSize size = window->GetSize() ;
|
||||
|
Reference in New Issue
Block a user