Add wxGCDC(const wxWindow*)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-07 03:29:35 +00:00
parent 4b71c4ecfd
commit 49f7b879bd

View File

@@ -285,6 +285,13 @@ public:
wxPyEndBlockThreads(blocked); wxPyEndBlockThreads(blocked);
} }
wxGCDC(const wxWindow*) {
wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError,
"wxGCDC is not available on this platform.");
wxPyEndBlockThreads(blocked);
}
wxGCDC() { wxGCDC() {
wxPyBlock_t blocked = wxPyBeginBlockThreads(); wxPyBlock_t blocked = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError, PyErr_SetString(PyExc_NotImplementedError,
@@ -999,9 +1006,11 @@ public :
class wxGCDC: public wxDC class wxGCDC: public wxDC
{ {
public: public:
%nokwargs wxGCDC;
%pythonAppend wxGCDC %pythonAppend wxGCDC
"self.__dc = args[0] # save a ref so the other dc will not be deleted before self"; "self.__dc = args[0] # save a ref so the other dc will not be deleted before self";
wxGCDC(const wxWindowDC& dc); wxGCDC(const wxWindowDC& dc);
wxGCDC(wxWindow* window);
//wxGCDC(); //wxGCDC();
virtual ~wxGCDC(); virtual ~wxGCDC();