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:
@@ -110,7 +110,9 @@ public:
|
|||||||
// wxGDIImage methods
|
// wxGDIImage methods
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
long GetHandle();
|
long GetHandle();
|
||||||
void SetHandle(long handle);
|
%extend {
|
||||||
|
void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool Ok();
|
bool Ok();
|
||||||
|
@@ -132,9 +132,11 @@ public:
|
|||||||
long , GetHandle(),
|
long , GetHandle(),
|
||||||
"Get the MS Windows handle for the cursor");
|
"Get the MS Windows handle for the cursor");
|
||||||
|
|
||||||
DocDeclStr(
|
%extend {
|
||||||
void , SetHandle(long handle),
|
DocStr(SetHandle,
|
||||||
"Set the MS WIndows handle for the cursor");
|
"Set the MS Windows handle to use for the cursor");
|
||||||
|
void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -57,7 +57,9 @@ public:
|
|||||||
// wxGDIImage methods
|
// wxGDIImage methods
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
long GetHandle();
|
long GetHandle();
|
||||||
void SetHandle(long handle);
|
%extend {
|
||||||
|
void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
bool Ok();
|
bool Ok();
|
||||||
int GetWidth();
|
int GetWidth();
|
||||||
|
@@ -1691,8 +1691,8 @@ wxWindow* wxFindWindowByLabel( const wxString& label,
|
|||||||
wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
|
wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
wxWindow* win = new wxWindow;
|
wxWindow* win = new wxWindow;
|
||||||
win->SetHWND(hWnd);
|
win->SetHWND((WXHWND)hWnd);
|
||||||
win->SubclassWin(hWnd);
|
win->SubclassWin((WXHWND)hWnd);
|
||||||
return win;
|
return win;
|
||||||
#else
|
#else
|
||||||
wxPyRaiseNotImplemented();
|
wxPyRaiseNotImplemented();
|
||||||
|
Reference in New Issue
Block a user