]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.cpp
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / samples / artprov / artbrows.cpp
index e58377e3dae03ce812cf8c0be9b28eda4072cf07..c1888648d4b7fab8de52b379056f1689dce52d07 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vaclav Slavik
 // Modified by:
 // Created:     2002/04/05
-// RCS-ID:      $Id$
 // Copyright:   (c) Vaclav Slavik
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -149,7 +148,7 @@ wxArtBrowserDialog::wxArtBrowserDialog(wxWindow *parent)
 
     m_list = new wxListCtrl(this, wxID_ANY, wxDefaultPosition, wxSize(250, 300),
                             wxLC_REPORT | wxSUNKEN_BORDER);
-    m_list->InsertColumn(0, wxT("wxArtID"));
+    m_list->AppendColumn(wxT("wxArtID"));
     subsizer->Add(m_list, 1, wxEXPAND | wxRIGHT, 10);
 
     wxSizer *subsub = new wxBoxSizer(wxVERTICAL);