added semicolons after wxCHECK()s (part of patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1808,7 +1808,7 @@ void wxTreeCtrl::DoExpand(const wxTreeItemId& item, int flag)
|
||||
|
||||
// A hidden root can be neither expanded nor collapsed.
|
||||
wxCHECK_RET( !(m_windowStyle & wxTR_HIDE_ROOT) || (HITEM(item) != TVI_ROOT),
|
||||
wxT("Can't expand/collapse hidden root node!") )
|
||||
wxT("Can't expand/collapse hidden root node!") );
|
||||
|
||||
// TreeView_Expand doesn't send TVN_ITEMEXPAND(ING) messages, so we must
|
||||
// emulate them. This behaviour has changed slightly with comctl32.dll
|
||||
@@ -2743,7 +2743,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
|
||||
WXWPARAM wParam = info->wVKey;
|
||||
|
||||
int keyCode = wxCharCodeMSWToWX(info->wVKey);
|
||||
int keyCode = wxCharCodeMSWToWX(wParam);
|
||||
if ( !keyCode )
|
||||
{
|
||||
// wxCharCodeMSWToWX() returns 0 to indicate that this is a
|
||||
|
Reference in New Issue
Block a user