Virtualized HasTransparentBackground

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-01-13 21:09:05 +00:00
parent 310660663f
commit b035e80b08
2 changed files with 16 additions and 3 deletions

View File

@ -64,6 +64,8 @@ public:
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
PYPRIVATE;
};
@ -96,7 +98,9 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
%}
IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
%}
// And now the one for SWIG to see
MustHaveApp(wxPyControl);

View File

@ -93,6 +93,8 @@ public:
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
PYPRIVATE;
};
@ -125,7 +127,8 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
%}
// And now the one for SWIG to see
@ -238,6 +241,8 @@ public:
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
PYPRIVATE;
};
@ -271,7 +276,8 @@ IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
%}
IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
%}
// And now the one for SWIG to see
MustHaveApp(wxPyPanel);
@ -375,6 +381,8 @@ public:
DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
PYPRIVATE;
};
@ -408,6 +416,7 @@ IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritCol
IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
%}
// And now the one for SWIG to see