]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/clip_dnd.i
Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
[wxWidgets.git] / wxPython / src / clip_dnd.i
index 2efd633649ff0b3aae99921ed0609afa430970ca..0fe784009d076b7f63ef79efe36e31f16618f8d9 100644 (file)
@@ -418,12 +418,16 @@ public:
     void UsePrimarySelection( int primary = FALSE );
 };
 
+
+%readonly
 %{
-    // See below in the init function...
-    wxClipboard* wxPyTheClipboard;
+#if 0
+%}
+// See also wxPy_ReinitStockObjects in helpers.cpp
+extern wxClipboard* wxTheClipboard;
+%{
+#endif
 %}
-%readonly
-%name(wxTheClipboard) wxClipboard* wxPyTheClipboard;
 %readwrite
 
 //----------------------------------------------------------------------
@@ -674,7 +678,6 @@ public:
 
 %init %{
 
-    wxPyTheClipboard = wxTheClipboard;
     wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
     wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
     wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");