X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/593ac33e50ab0b01f6186773fa646104d410f365..8e5ec129614e2473fd240f2a6e94ee56e3a9039b:/src/msw/combobox.cpp diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 61908d5fdc..41b73b4478 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -34,16 +34,16 @@ // for wxEVT_COMMAND_TEXT_ENTER #include "wx/textctrl.h" #include "wx/app.h" + #include "wx/brush.h" #endif -#include "wx/brush.h" #include "wx/clipbrd.h" #include "wx/msw/private.h" +// include "properly" +#include "wx/msw/wrapcctl.h" + #if wxUSE_TOOLTIPS - #if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__) - #include - #endif #include "wx/tooltip.h" #endif // wxUSE_TOOLTIPS @@ -207,6 +207,13 @@ LRESULT APIENTRY _EXPORT wxComboEditWndProc(HWND hWnd, } } break; + + case WM_CUT: + case WM_COPY: + case WM_PASTE: + if( win->HandleClipboardEvent( message ) ) + return 0; + break; } return ::CallWindowProc(CASTWNDPROC gs_wndprocEdit, hWnd, message, wParam, lParam);