Fix compilation errors due to recent typedef changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
56ca5a419b
commit
a0c956e8e6
@ -110,7 +110,9 @@ public:
|
||||
// wxGDIImage methods
|
||||
#ifdef __WXMSW__
|
||||
long GetHandle();
|
||||
void SetHandle(long handle);
|
||||
%extend {
|
||||
void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
|
||||
}
|
||||
#endif
|
||||
|
||||
bool Ok();
|
||||
|
@ -132,9 +132,11 @@ public:
|
||||
long , GetHandle(),
|
||||
"Get the MS Windows handle for the cursor");
|
||||
|
||||
DocDeclStr(
|
||||
void , SetHandle(long handle),
|
||||
"Set the MS WIndows handle for the cursor");
|
||||
%extend {
|
||||
DocStr(SetHandle,
|
||||
"Set the MS Windows handle to use for the cursor");
|
||||
void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -57,7 +57,9 @@ public:
|
||||
// wxGDIImage methods
|
||||
#ifdef __WXMSW__
|
||||
long GetHandle();
|
||||
void SetHandle(long handle);
|
||||
%extend {
|
||||
void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
|
||||
}
|
||||
#endif
|
||||
bool Ok();
|
||||
int GetWidth();
|
||||
|
@ -1691,8 +1691,8 @@ wxWindow* wxFindWindowByLabel( const wxString& label,
|
||||
wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
|
||||
#ifdef __WXMSW__
|
||||
wxWindow* win = new wxWindow;
|
||||
win->SetHWND(hWnd);
|
||||
win->SubclassWin(hWnd);
|
||||
win->SetHWND((WXHWND)hWnd);
|
||||
win->SubclassWin((WXHWND)hWnd);
|
||||
return win;
|
||||
#else
|
||||
wxPyRaiseNotImplemented();
|
||||
|
Loading…
Reference in New Issue
Block a user