Changes to ensure that GDI objects returned from Python methods are
copied, not just left as references. The old way was counter-intuitive for Python. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,9 +259,9 @@ public:
|
||||
bool HasBackgroundColour();
|
||||
bool HasFont();
|
||||
|
||||
const wxColour& GetTextColour();
|
||||
const wxColour& GetBackgroundColour();
|
||||
const wxFont& GetFont();
|
||||
wxColour GetTextColour();
|
||||
wxColour GetBackgroundColour();
|
||||
wxFont GetFont();
|
||||
};
|
||||
|
||||
|
||||
@@ -908,9 +908,9 @@ public:
|
||||
bool HasBackgroundColour();
|
||||
bool HasFont();
|
||||
|
||||
const wxColour& GetTextColour();
|
||||
const wxColour& GetBackgroundColour();
|
||||
const wxFont& GetFont();
|
||||
wxColour GetTextColour();
|
||||
wxColour GetBackgroundColour();
|
||||
wxFont GetFont();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user