GUI: Small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4082 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
97ea0362af
commit
e15de53f15
|
@ -327,15 +327,13 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event)
|
|||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
wxWindow * CCodeWindow::GetNootebookPage(wxString Name)
|
||||
{
|
||||
if (!Parent->m_NB[0] || !Parent->m_NB[1]) return NULL;
|
||||
|
||||
for(u32 i = 0; i <= Parent->m_NB[0]->GetPageCount(); i++)
|
||||
for (int i = 0; i < Parent->m_NB.size(); i++)
|
||||
{
|
||||
if (Parent->m_NB[0]->GetPageText(i).IsSameAs(Name)) return Parent->m_NB[0]->GetPage(i);
|
||||
}
|
||||
for(u32 i = 0; i <= Parent->m_NB[1]->GetPageCount(); i++)
|
||||
{
|
||||
if (Parent->m_NB[1]->GetPageText(i).IsSameAs(Name)) return Parent->m_NB[1]->GetPage(i);
|
||||
if (!Parent->m_NB[i]) return NULL;
|
||||
for(u32 j = 0; j <= Parent->m_NB[j]->GetPageCount(); j++)
|
||||
{
|
||||
if (Parent->m_NB[i]->GetPageText(j).IsSameAs(Name)) return Parent->m_NB[i]->GetPage(j);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -372,7 +372,7 @@ CFrame::CFrame(bool showLogWindow,
|
|||
m_Panel = new CPanel(this, IDM_MPANEL);
|
||||
//wxPanel * m_Panel2 = new wxPanel(this, wxID_ANY);
|
||||
|
||||
static int Style = wxAUI_NB_TOP | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_CLOSE_ON_ACTIVE_TAB | wxAUI_NB_TAB_EXTERNAL_MOVE | wxNO_BORDER;
|
||||
static int Style = wxAUI_NB_TOP | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_TAB_EXTERNAL_MOVE | wxNO_BORDER;
|
||||
wxBitmap aNormalFile = wxArtProvider::GetBitmap(wxART_NORMAL_FILE, wxART_OTHER, wxSize(16,16));
|
||||
|
||||
if (UseDebugger)
|
||||
|
|
Loading…
Reference in New Issue