Added a couple of const to == and != operators.
Removed no-flicker hack which seems to be a problem on Sun. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,8 +70,8 @@ public:
|
||||
wxBitmap( const wxString &filename, int type = wxBITMAP_TYPE_XPM );
|
||||
~wxBitmap();
|
||||
wxBitmap& operator = ( const wxBitmap& bmp );
|
||||
bool operator == ( const wxBitmap& bmp );
|
||||
bool operator != ( const wxBitmap& bmp );
|
||||
bool operator == ( const wxBitmap& bmp ) const;
|
||||
bool operator != ( const wxBitmap& bmp ) const;
|
||||
bool Ok() const;
|
||||
|
||||
bool Create(int width, int height, int depth = -1);
|
||||
|
@@ -40,8 +40,8 @@ public:
|
||||
wxBrush( const wxBrush &brush );
|
||||
~wxBrush();
|
||||
wxBrush& operator = ( const wxBrush& brush );
|
||||
bool operator == ( const wxBrush& brush );
|
||||
bool operator != ( const wxBrush& brush );
|
||||
bool operator == ( const wxBrush& brush ) const;
|
||||
bool operator != ( const wxBrush& brush ) const;
|
||||
bool Ok() const;
|
||||
|
||||
int GetStyle() const;
|
||||
|
@@ -45,8 +45,8 @@ public:
|
||||
wxPen( const wxPen& pen );
|
||||
~wxPen();
|
||||
wxPen& operator = ( const wxPen& pen );
|
||||
bool operator == ( const wxPen& pen );
|
||||
bool operator != ( const wxPen& pen );
|
||||
bool operator == ( const wxPen& pen ) const;
|
||||
bool operator != ( const wxPen& pen ) const;
|
||||
|
||||
void SetColour( const wxColour &colour );
|
||||
void SetColour( int red, int green, int blue );
|
||||
|
Reference in New Issue
Block a user