change generic ints to enums in wxDC (closes #9959)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-08 14:21:53 +00:00
parent 11a449ac9b
commit 89efaf2b65
59 changed files with 401 additions and 326 deletions

View File

@@ -356,10 +356,10 @@ public:
virtual void * GetNativeContext() = 0;
// returns the current logical function
virtual int GetLogicalFunction() const { return m_logicalFunction; }
virtual wxRasterModeOperation GetLogicalFunction() const { return m_logicalFunction; }
// sets the current logical function, returns true if it supported
virtual bool SetLogicalFunction(int function);
virtual bool SetLogicalFunction(wxRasterOperationMode function);
// returns the size of the graphics context in device coordinates
virtual void GetSize( wxDouble* width, wxDouble* height);
@@ -495,7 +495,7 @@ protected:
wxGraphicsPen m_pen;
wxGraphicsBrush m_brush;
wxGraphicsFont m_font;
int m_logicalFunction;
wxRasterOperationMode m_logicalFunction;
private:
// implementations of overloaded public functions: we use different names