Win64 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,7 +127,7 @@ LRESULT APIENTRY _EXPORT wxComboEditWndProc(HWND hWnd,
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// the pointer to standard radio button wnd proc
|
||||
static WXFARPROC gs_wndprocEdit = (WXFARPROC)NULL;
|
||||
static WNDPROC gs_wndprocEdit = (WNDPROC)NULL;
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
@@ -409,12 +409,8 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
|
||||
// edit control, we must subclass it as well
|
||||
if ( !(style & wxCB_READONLY) )
|
||||
{
|
||||
gs_wndprocEdit = (WXFARPROC)::SetWindowLong
|
||||
(
|
||||
(HWND)GetEditHWND(),
|
||||
GWL_WNDPROC,
|
||||
(LPARAM)wxComboEditWndProc
|
||||
);
|
||||
gs_wndprocEdit = wxSetWindowProc((HWND)GetEditHWND(),
|
||||
wxComboEditWndProc);
|
||||
}
|
||||
|
||||
// and finally, show the control
|
||||
|
Reference in New Issue
Block a user