]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tooltip.cpp
cvs to svn
[wxWidgets.git] / src / msw / tooltip.cpp
index 0c875c065012f70e850b8e93219b753dd4614129..0e41099317b87a21805e171333cbe96adadcd2f2 100644 (file)
@@ -339,7 +339,7 @@ void wxToolTip::Add(WXHWND hWnd)
                 while (token.length())
                 {
                     SIZE sz;
-                    if ( !::GetTextExtentPoint32(hdc, token, token.length(), &sz) )
+                    if ( !::GetTextExtentPoint32(hdc, token.wx_str(), token.length(), &sz) )
                     {
                         wxLogLastError(wxT("GetTextExtentPoint32"));
                     }