mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
try to fix resize the GameListControl after stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2588 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -339,12 +339,18 @@ CFrame::CFrame(wxFrame* parent,
|
||||
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT);
|
||||
|
||||
sizerPanel = new wxBoxSizer(wxHORIZONTAL);
|
||||
sizerPanel->Add(m_GameListCtrl, 2, wxEXPAND);
|
||||
sizerPanel->Add(m_GameListCtrl, 1, wxEXPAND | wxALL);
|
||||
m_Panel->SetSizer(sizerPanel);
|
||||
|
||||
sizerFrame = new wxBoxSizer(wxHORIZONTAL);
|
||||
sizerFrame->Add(m_Panel, 1, wxEXPAND | wxALL);
|
||||
this->SetSizer(sizerFrame);
|
||||
|
||||
// Create the toolbar
|
||||
RecreateToolbar();
|
||||
|
||||
FitInside();
|
||||
|
||||
Show(); // Show the window
|
||||
|
||||
// Create list of available plugins for the configuration window
|
||||
@ -508,7 +514,7 @@ void CFrame::OnKeyUp(wxKeyEvent& event)
|
||||
|
||||
|
||||
// Returns a timestamp with decimals for precise time comparisons
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?
|
||||
double GetDoubleTime()
|
||||
{
|
||||
wxDateTime datetime = wxDateTime::UNow(); // Get timestamp
|
||||
@ -529,7 +535,7 @@ double GetDoubleTime()
|
||||
|
||||
|
||||
// Detect double click. Kind of, for some reason we have to manually create the double click for now.
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?
|
||||
void CFrame::OnDoubleClick(wxMouseEvent& event)
|
||||
{
|
||||
// Don't block the mouse click
|
||||
@ -574,7 +580,7 @@ void CFrame::OnDoubleClick(wxMouseEvent& event)
|
||||
|
||||
|
||||
// Check for mouse motion. Here we process the bHideCursor setting.
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?
|
||||
void CFrame::OnMotion(wxMouseEvent& event)
|
||||
{
|
||||
event.Skip();
|
||||
@ -629,7 +635,7 @@ void CFrame::OnMotion(wxMouseEvent& event)
|
||||
}
|
||||
|
||||
// Check for mouse status a couple of times per second for the auto hide option
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?
|
||||
#if wxUSE_TIMER
|
||||
void CFrame::Update()
|
||||
{
|
||||
|
Reference in New Issue
Block a user