]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextsymboldlg.cpp
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / src / richtext / richtextsymboldlg.cpp
index 85c07f05924652f58835c11b2a623336bc1f3e4a..05a19477ad758a79788f03cd6f35efa67e48cec4 100644 (file)
@@ -873,7 +873,7 @@ bool wxSymbolListCtrl::DoSetCurrent(int current)
 
 void wxSymbolListCtrl::SendSelectedEvent()
 {
 
 void wxSymbolListCtrl::SendSelectedEvent()
 {
-    wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, GetId());
+    wxCommandEvent event(wxEVT_LISTBOX, GetId());
     event.SetEventObject(this);
     event.SetInt(m_current);
 
     event.SetEventObject(this);
     event.SetInt(m_current);
 
@@ -1180,7 +1180,7 @@ void wxSymbolListCtrl::OnLeftDClick(wxMouseEvent& eventMouse)
         // this event as a left-click instead
         if ( item == m_current )
         {
         // this event as a left-click instead
         if ( item == m_current )
         {
-            wxCommandEvent event(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, GetId());
+            wxCommandEvent event(wxEVT_LISTBOX_DCLICK, GetId());
             event.SetEventObject(this);
             event.SetInt(item);
 
             event.SetEventObject(this);
             event.SetInt(item);
 
@@ -1293,7 +1293,7 @@ wxSymbolListCtrl::GetClassDefaultAttributes(wxWindowVariant variant)
 }
 
 /*!
 }
 
 /*!
- * wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_HELP
+ * wxEVT_BUTTON event handler for wxID_HELP
  */
 
 void wxSymbolPickerDialog::OnHelpClick( wxCommandEvent& WXUNUSED(event) )
  */
 
 void wxSymbolPickerDialog::OnHelpClick( wxCommandEvent& WXUNUSED(event) )