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/PlayerShaderEditorBar.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/PlayerShaderEditorBar.cpp')
-rw-r--r--src/apps/mplayerc/PlayerShaderEditorBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/mplayerc/PlayerShaderEditorBar.cpp b/src/apps/mplayerc/PlayerShaderEditorBar.cpp
index 84b6742e4..a29aceefa 100644
--- a/src/apps/mplayerc/PlayerShaderEditorBar.cpp
+++ b/src/apps/mplayerc/PlayerShaderEditorBar.cpp
@@ -38,7 +38,7 @@ CPlayerShaderEditorBar::~CPlayerShaderEditorBar()
BOOL CPlayerShaderEditorBar::Create(CWnd* pParentWnd)
{
- if(!__super::Create(ResStr(IDS_AG_SHADER_EDITOR), pParentWnd, 0))
+ if(!__super::Create(ResStr(IDS_AG_SHADER_EDITOR), pParentWnd, ID_VIEW_SHADEREDITOR))
return FALSE;
m_dlg.Create(this);