projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't use deprecated wxMouseState functions
[wxWidgets.git]
/
include
/
wx
/
generic
/
colour.h
diff --git
a/include/wx/generic/colour.h
b/include/wx/generic/colour.h
index feb49285500ffe697e131d1afaf4408e58bff6b8..edaf6a19e3ce83e154d9802448e4ee25234d5945 100644
(file)
--- a/
include/wx/generic/colour.h
+++ b/
include/wx/generic/colour.h
@@
-15,25
+15,23
@@
#include "wx/object.h"
// Colour
#include "wx/object.h"
// Colour
-class WXDLL
EXPORT
wxColour: public wxColourBase
+class WXDLL
IMPEXP_CORE
wxColour: public wxColourBase
{
public:
// constructors
// ------------
{
public:
// constructors
// ------------
-
- // default
- wxColour();
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// copy ctors and assignment operators
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// copy ctors and assignment operators
- wxColour(const wxColour& col);
- wxColour& operator=(const wxColour& col);
+ wxColour(const wxColour& col)
+ {
+ *this = col;
+ }
- // dtor
- virtual ~wxColour();
+ wxColour& operator=(const wxColour& col);
// accessors
// accessors
- bool IsOk() const { return m_isInit; }
+
virtual
bool IsOk() const { return m_isInit; }
unsigned char Red() const { return m_red; }
unsigned char Green() const { return m_green; }
unsigned char Red() const { return m_red; }
unsigned char Green() const { return m_green; }