warning and compilos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2005-02-14 03:57:18 +00:00
parent df21986cb7
commit e928c28c89

View File

@@ -23,6 +23,7 @@
#include "wx/settings.h"
#include "wx/math.h"
#include "wx/mac/private.h"
#include "wx/log.h"
//-----------------------------------------------------------------------------
// constants
@@ -125,7 +126,6 @@ wxWindowDC::wxWindowDC(wxWindow *window)
if (!rootwindow)
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
wxSize size = window->GetClientSize() ;
int x , y ;
x = y = 0 ;
window->MacWindowToRootWindow( &x , &y ) ;
@@ -198,7 +198,6 @@ wxClientDC::wxClientDC(wxWindow *window)
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
wxPoint origin = window->GetClientAreaOrigin() ;
wxSize size = window->GetClientSize() ;
int x , y ;
x = origin.x ;
y = origin.y ;