]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/checklst/checklst.cpp
* Move m_cocoaNSMenu out of wxCocoaNSMenu and into wxMenu and wxMenuBar
[wxWidgets.git] / samples / checklst / checklst.cpp
index 41c135cc712284bf283d55d8c602b99eec3f37af..41d4f842e984a07bcd06efe34f1f30801769530b 100644 (file)
@@ -310,7 +310,7 @@ void CheckListBoxFrame::OnListboxSelect(wxCommandEvent& event)
 void CheckListBoxFrame::OnListboxDblClick(wxCommandEvent& WXUNUSED(event))
 {
     wxString strSelection;
-    strSelection.sprintf(wxT("Item %d double clicked"), m_pListBox->GetSelection());
+    strSelection.Printf(wxT("Item %d double clicked"), m_pListBox->GetSelection());
     wxMessageDialog dialog(this, strSelection, wxT("wxCheckListBox message"), wxICON_INFORMATION);
     dialog.ShowModal();
 }