buildbot VC6 apparently can't compile variable declaration inside a switch statement even though my own VC6 SP5 can
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -295,7 +295,8 @@ bool wxHeaderCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
wxEventType evtType = wxEVT_NULL;
|
||||
int idx = nmhdr->iItem;
|
||||
int width = 0;
|
||||
switch ( const UINT code = nmhdr->hdr.code )
|
||||
const UINT code = nmhdr->hdr.code;
|
||||
switch ( code )
|
||||
{
|
||||
// click events
|
||||
// ------------
|
||||
|
Reference in New Issue
Block a user