]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/toggle.cpp
Split wxTextCompleter into a base class and wxTextCompleterSimple.
[wxWidgets.git] / samples / widgets / toggle.cpp
index a44b1ff900c2a032d40880d0cf9bce6aa0d29388..b568226580024495cd286ff56392346630efa039 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     27 Sep 2003
 // Id:          $Id$
 // Copyright:   (c) 2006 Wlodzmierz Skiba
-// License:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -132,14 +132,14 @@ void ToggleWidgetsPage::CreateContent()
 //    wxSizer *sizerLeft = new wxStaticBoxSizer(box, wxVERTICAL);
 
     // middle pane
-    wxStaticBox *box2 = new wxStaticBox(this, wxID_ANY, _T("&Operations"));
+    wxStaticBox *box2 = new wxStaticBox(this, wxID_ANY, wxT("&Operations"));
     wxSizer *sizerMiddle = new wxStaticBoxSizer(box2, wxVERTICAL);
 
     wxSizer *sizerRow = CreateSizerWithTextAndButton(TogglePage_ChangeLabel,
-                                                     _T("Change label"),
+                                                     wxT("Change label"),
                                                      wxID_ANY,
                                                      &m_textLabel);
-    m_textLabel->SetValue(_T("&Toggle me!"));
+    m_textLabel->SetValue(wxT("&Toggle me!"));
 
     sizerMiddle->Add(sizerRow, 0, wxALL | wxGROW, 5);