Merge pull request #777 from cxd4/BORWSER

[GUI class] Un-typo "borwser" to "browser".
This commit is contained in:
zilmar 2015-11-24 15:25:14 +11:00
commit 08133ac271
2 changed files with 7 additions and 7 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

@ -23,11 +23,11 @@ class CriticalSection;
enum
{
WM_HIDE_CUROSR = WM_USER + 10,
WM_MAKE_FOCUS = WM_USER + 17,
WM_HIDE_CUROSR = WM_USER + 10,
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_GAME_CLOSED = WM_USER + 19,
WM_BROWSER_TOP = WM_USER + 40,
};
class CMainGui :