This commit is contained in:
unknown 2015-11-23 21:23:50 -05:00
parent 8185799939
commit 716c2fb8d0
2 changed files with 4 additions and 4 deletions

View File

@ -862,7 +862,7 @@ LRESULT CALLBACK CMainGui::MainGui_Proc(HWND hWnd, DWORD uMsg, DWORD wParam, DWO
CMainGui * _this = (CMainGui *)GetProp((HWND)hWnd, "Class");
if (_this->RomBrowserVisible())
{
PostMessage((HWND)hWnd, WM_BORWSER_TOP, 0, 0);
PostMessage((HWND)hWnd, WM_BROWSER_TOP, 0, 0);
break;
}
@ -899,7 +899,7 @@ LRESULT CALLBACK CMainGui::MainGui_Proc(HWND hWnd, DWORD uMsg, DWORD wParam, DWO
if (fActive && _this->RomBrowserVisible())
{
PostMessage((HWND)hWnd, WM_BORWSER_TOP, 0, 0);
PostMessage((HWND)hWnd, WM_BROWSER_TOP, 0, 0);
}
if (_this->m_bMainWindow && bCPURunning())
{
@ -938,7 +938,7 @@ LRESULT CALLBACK CMainGui::MainGui_Proc(HWND hWnd, DWORD uMsg, DWORD wParam, DWO
_this->BringToTop();
}
break;
case WM_BORWSER_TOP:
case WM_BROWSER_TOP:
{
CMainGui * _this = (CMainGui *)GetProp((HWND)hWnd, "Class");
_this->RomBrowserToTop();

View File

@ -27,7 +27,7 @@ enum
WM_MAKE_FOCUS = WM_USER + 17,
WM_RESET_PLUGIN = WM_USER + 18,
WM_GAME_CLOSED = WM_USER + 19,
WM_BORWSER_TOP = WM_USER + 40,
WM_BROWSER_TOP = WM_USER + 40,
};
class CMainGui :