diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2007-06-24 20:16:40 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2007-06-24 20:16:40 +0000 |
commit | 9d0e4e102b082448e140e95a40c8f1b12714be48 (patch) | |
tree | d691af2c16209562512af3556dfd56bda44112af /rbutil/rbutilFrm.cpp | |
parent | e596a80e8d84d7b458f1629cb87030b27b5ccca4 (diff) |
rbutil: attempt autodetection at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13702 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilFrm.cpp')
-rw-r--r-- | rbutil/rbutilFrm.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rbutil/rbutilFrm.cpp b/rbutil/rbutilFrm.cpp index 8654dd0706..9b4a19b887 100644 --- a/rbutil/rbutilFrm.cpp +++ b/rbutil/rbutilFrm.cpp @@ -76,9 +76,9 @@ rbutilFrm::~rbutilFrm() {} void rbutilFrm::CreateGUIControls(void) { - wxLogVerbose(wxT("=== begin rbutilFrm::CreateGUIControls()")); + wxLogVerbose(wxT("=== begin rbutilFrm::CreateGUIControls()")); - wxBoxSizer* WxBoxSizer1 = new wxBoxSizer(wxVERTICAL); + wxBoxSizer* WxBoxSizer1 = new wxBoxSizer(wxVERTICAL); this->SetSizer(WxBoxSizer1); this->SetAutoLayout(TRUE); @@ -96,8 +96,10 @@ void rbutilFrm::CreateGUIControls(void) myDeviceSelector = new DeviceSelectorCtrl(mainPanel,wxID_ANY); myDeviceSelector->setDefault(); + myDeviceSelector->AutoDetect(); WxBoxSizer0->Add(myDeviceSelector,0,wxGROW|wxALL,5); + wxNotebook* tabwindow = new wxNotebook(mainPanel,wxID_ANY); WxBoxSizer0->Add(tabwindow,1,wxGROW|wxALL,5); |