Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-08-18 16:49:11 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-08-18 16:49:11 +0400
commit7ac19e38adc30e7a9827876bcceb7ffbe294889d (patch)
tree438aa47a1dca0ddfb8357a9d13971b68e31ee3ad /src/apps/mplayerc/PlayerNavigationBar.cpp
parentc8216eaeabb64dce8c8058c0ffaa51db1e99097d (diff)
Added correct IDs for the docked bars. This fixes all known crashes with MSVC2010 builds.
Patch by heksesang git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2267 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PlayerNavigationBar.cpp')
-rw-r--r--src/apps/mplayerc/PlayerNavigationBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/mplayerc/PlayerNavigationBar.cpp b/src/apps/mplayerc/PlayerNavigationBar.cpp
index a7cd20814..811f9f945 100644
--- a/src/apps/mplayerc/PlayerNavigationBar.cpp
+++ b/src/apps/mplayerc/PlayerNavigationBar.cpp
@@ -40,7 +40,7 @@ CPlayerNavigationBar::~CPlayerNavigationBar()
BOOL CPlayerNavigationBar::Create(CWnd* pParentWnd)
{
- if(!baseCPlayerNavigationBar::Create(_T("Navigation bar"), pParentWnd, 0))
+ if(!baseCPlayerNavigationBar::Create(_T("Navigation bar"), pParentWnd, ID_VIEW_NAVIGATION))
return FALSE;
m_pParent = pParentWnd;