X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..5e05df3c7ff33db7eab01f5012ab218ac2843cea:/src/msw/tabctrl.cpp diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index 02a8285cc4..ddb0255c42 100644 --- a/src/msw/tabctrl.cpp +++ b/src/msw/tabctrl.cpp @@ -98,7 +98,7 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons tabStyle, // Styles and defaults. x, y, width, height, // Standard size and position. (HWND) parent->GetHWND(), // Parent window - (HMENU)m_windowId, // ID. + (HMENU)m_windowId.GetValue(), // ID. wxGetInstance(), // Current instance. NULL ); // No class data.