]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dcclient.cpp
applied Paul A. Thiessen's patches for correcting coordinates when having borders...
[wxWidgets.git] / src / mac / dcclient.cpp
index 8d97ce488925e06e76648c4f0a99351bcbf88147..74533a7442e23485cf71be7ef8b104fd8eaf0529 100644 (file)
@@ -39,7 +39,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPaintDC, wxWindowDC)
  * wxWindowDC
  */
 
-#include <wx/mac/uma.h>
+#include "wx/mac/uma.h"
 
 wxWindowDC::wxWindowDC() 
 {
@@ -48,7 +48,7 @@ wxWindowDC::wxWindowDC()
 wxWindowDC::wxWindowDC(wxWindow *the_canvas) 
 {
        WindowRef windowref ;
-       wxWindow* rootwindow ;
+       wxWindowMac* rootwindow ;
        
        // this time it is really the full window
        
@@ -78,7 +78,7 @@ wxClientDC::wxClientDC()
 wxClientDC::wxClientDC(wxWindow *window)
 {
        WindowRef windowref ;
-       wxWindow* rootwindow ;
+       wxWindowMac* rootwindow ;
        
        window->MacGetPortClientParams(&m_macLocalOrigin, &m_macClipRect , &windowref , &rootwindow );
        m_macPort = UMAGetWindowPort( windowref ) ;
@@ -106,7 +106,7 @@ wxPaintDC::wxPaintDC()
 wxPaintDC::wxPaintDC(wxWindow *window)
 {
        WindowRef windowref ;
-       wxWindow* rootwindow ;
+       wxWindowMac* rootwindow ;
        
        window->MacGetPortClientParams(&m_macLocalOrigin, &m_macClipRect , &windowref , &rootwindow );