X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3571e1add4e6ceb45ad88c224c432609f837a8dd..refs/heads/master:/src/msw/commandlinkbutton.cpp diff --git a/src/msw/commandlinkbutton.cpp b/src/msw/commandlinkbutton.cpp index 796251439a..653b48be8a 100644 --- a/src/msw/commandlinkbutton.cpp +++ b/src/msw/commandlinkbutton.cpp @@ -3,7 +3,6 @@ // Purpose: wxCommandLinkButton // Author: Rickard Westerlund // Created: 2010-06-14 -// RCS-ID: $Id$ // Copyright: (c) 2010 wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -92,7 +91,7 @@ wxCommandLinkButton::SetMainLabelAndNote(const wxString& mainLabel, if ( HasNativeCommandLinkButton() ) { wxButton::SetLabel(mainLabel); - ::SendMessage(m_hWnd, BCM_SETNOTE, 0, (LPARAM) note.wx_str()); + ::SendMessage(m_hWnd, BCM_SETNOTE, 0, wxMSW_CONV_LPARAM(note)); // Preserve the user-specified label for GetLabel() m_labelOrig = mainLabel;