]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/filepicker.cpp
Add CombineURIs implementation for wxWebFileProtocolHandler. Update the IE backend...
[wxWidgets.git] / samples / widgets / filepicker.cpp
index 501d1a4f669c25c55de4ae8bcade64a7ec47158e..1c91ca6a6e687905b96cb20b77279a6914026a5e 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     20/6/2006
 // Id:          $Id$
 // Copyright:   (c) 2006 Francesco Montorsi
 // Created:     20/6/2006
 // Id:          $Id$
 // Copyright:   (c) 2006 Francesco Montorsi
-// License:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -197,12 +197,10 @@ void FilePickerWidgetsPage::CreateContent()
 void FilePickerWidgetsPage::CreatePicker()
 {
     delete m_filePicker;
 void FilePickerWidgetsPage::CreatePicker()
 {
     delete m_filePicker;
-    
-    wxString path = "/home/robert/wxDesigner.tar.gz";
 
     // pass an empty string as initial file
     m_filePicker = new wxFilePickerCtrl(this, PickerPage_File,
 
     // pass an empty string as initial file
     m_filePicker = new wxFilePickerCtrl(this, PickerPage_File,
-                                        path,
+                                        wxEmptyString,
                                         wxT("Hello!"), wxT("*"),
                                         wxDefaultPosition, wxDefaultSize,
                                         GetPickerStyle());
                                         wxT("Hello!"), wxT("*"),
                                         wxDefaultPosition, wxDefaultSize,
                                         GetPickerStyle());