* wxWindowDC
*/
-#include <wx/mac/uma.h>
+#include "wx/mac/uma.h"
wxWindowDC::wxWindowDC()
{
wxWindowDC::wxWindowDC(wxWindow *the_canvas)
{
WindowRef windowref ;
- wxWindow* rootwindow ;
+ wxWindowMac* rootwindow ;
// this time it is really the full window
wxClientDC::wxClientDC(wxWindow *window)
{
WindowRef windowref ;
- wxWindow* rootwindow ;
+ wxWindowMac* rootwindow ;
window->MacGetPortClientParams(&m_macLocalOrigin, &m_macClipRect , &windowref , &rootwindow );
m_macPort = UMAGetWindowPort( windowref ) ;
wxPaintDC::wxPaintDC(wxWindow *window)
{
WindowRef windowref ;
- wxWindow* rootwindow ;
+ wxWindowMac* rootwindow ;
window->MacGetPortClientParams(&m_macLocalOrigin, &m_macClipRect , &windowref , &rootwindow );
m_macPort = UMAGetWindowPort( windowref ) ;
m_ok = TRUE ;
+ /*
wxCoord x , y ,w , h ;
window->GetUpdateRegion().GetBox( x , y , w , h ) ;
m_minY = m_minX = 0;
m_maxX = size.x ;
m_maxY = size.y ;
SetClippingRegion( x , y , w , h ) ;
+ */
SetBackground(wxBrush(window->GetBackgroundColour(), wxSOLID));
SetFont(window->GetFont() ) ;
}