X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d62c1e628d2e36f00dd1c703a41c2d41415c10cc..06cd40a8b92bb3836ba90aa9475daa0546d44c84:/include/wx/cmndata.h?ds=sidebyside diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 1540716412..31269412d8 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -55,7 +55,9 @@ public: wxString ToString() const; bool FromString(const wxString& str); -public: // TODO: make these fields private + + // public for backwards compatibility only: don't use directly +public: wxColour m_dataColour; wxColour m_custColours[NUM_CUSTOM]; bool m_chooseFull; @@ -226,7 +228,7 @@ public: wxString GetFilename() const { return m_filename; } void SetFilename( const wxString &filename ) { m_filename = filename; } - void operator=(const wxPrintData& data); + wxPrintData& operator=(const wxPrintData& data); char* GetPrivData() const { return m_privData; } int GetPrivDataLen() const { return m_privDataLen; }