]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toolbar.cpp
Test using wxString::ToCDouble() in wxAny.
[wxWidgets.git] / src / msw / toolbar.cpp
index 8052cec705067fa96b8e57513fba22de61201981..1011c5d3e271528a21dc3e723b260ddfbad4af3d 100644 (file)
@@ -1391,7 +1391,7 @@ bool wxToolBar::MSWOnNotify(int WXUNUSED(idCtrl),
     {
         LPNMTOOLBAR tbhdr = (LPNMTOOLBAR)lParam;
 
-        wxCommandEvent evt(wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED, tbhdr->iItem);
+        wxCommandEvent evt(wxEVT_TOOL_DROPDOWN, tbhdr->iItem);
         if ( HandleWindowEvent(evt) )
         {
             // Event got handled, don't display default popup menu