Since the wxPyMake_wxObject typemap is also used for constructors we
need to allow it to use the $owner value to specify if the thisown attribute shoudl be set to true. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,7 @@ struct wxVisualAttributes
|
||||
%extend {
|
||||
wxVisualAttributes() { return new wxVisualAttributes; }
|
||||
~wxVisualAttributes() { delete self; }
|
||||
}
|
||||
}
|
||||
|
||||
// the font used for control label/text inside it
|
||||
wxFont font;
|
||||
@@ -1302,7 +1302,7 @@ themes represent the appearance chosen by the user to be used for all
|
||||
applications on the system.", "");
|
||||
|
||||
DocDeclStr(
|
||||
void , SetOwnBackroundColour(const wxColour& colour),
|
||||
void , SetOwnBackgroundColour(const wxColour& colour),
|
||||
"", "");
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user