reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-08-14 03:58:15 +00:00
parent 0a67b75186
commit 8a12f92d0d
17 changed files with 2345 additions and 23 deletions

View File

@@ -1720,6 +1720,26 @@ public:
//----------------------------------------------------------------------
%{
#ifdef __WXMSW__
#include <wx/msw/private.h>
#endif
%}
%inline %{
void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc)
{
#ifdef __WXMSW__
::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
// ::SendMessage(GetHwndOf(window), WM_PRINTCLIENT, (long)GetHdcOf(dc),
// PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN );
#endif
}
%}
//----------------------------------------------------------------------
%init %{
wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");