[FIXED] Fix some typos.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@157 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2008-03-29 00:32:32 +00:00
parent 0d932b764b
commit 16f5cc9a3c

View File

@ -220,11 +220,11 @@ void ReBar::init(HINSTANCE hInst, HWND hPere, ToolBar *pToolBar)
_rbBand.fStyle = RBBS_VARIABLEHEIGHT;// | RBBS_USECHEVRON; _rbBand.fStyle = RBBS_VARIABLEHEIGHT;// | RBBS_USECHEVRON;
_rbBand.hwndChild = _pToolBar->getHSelf(); _rbBand.hwndChild = _pToolBar->getHSelf();
_rbBand.wID = 0; //ID zero for toolbar _rbBand.wID = REBAR_BAR_TOOLBAR; //ID REBAR_BAR_TOOLBAR for toolbar
_rbBand.cxMinChild = 0; _rbBand.cxMinChild = 0;
_rbBand.cyMinChild = HIWORD(size) + HIWORD(padding); _rbBand.cyMinChild = HIWORD(size) + HIWORD(padding);
_rbBand.cyMaxChild = HIWORD(size) + HIWORD(padding); _rbBand.cyMaxChild = HIWORD(size) + HIWORD(padding);
_rbBand.cyIntegral = REBAR_BAR_TOOLBAR; _rbBand.cyIntegral = 1;
_rbBand.cxIdeal = _rbBand.cx = _pToolBar->getWidth(); _rbBand.cxIdeal = _rbBand.cx = _pToolBar->getWidth();
::SendMessage(_hSelf, RB_INSERTBAND, (WPARAM)0, (LPARAM)&_rbBand); ::SendMessage(_hSelf, RB_INSERTBAND, (WPARAM)0, (LPARAM)&_rbBand);