Download MetaTrader 5
To add comments, please log in or register
Sell products right in MetaTrader. Millions of traders are waiting for this!
Zoltan Meszaros
1927
Zoltan Meszaros 2015.02.11 08:58 

Hi,

I've found a small bug in:

\MQL4\Include\Controls\CheckBox.mqh (MT4 Version 4.00 Build 765)

Missing one const keyword in declarations of CCheckBox class.

Original (current) version:

bool Checked(void) { return(m_button.Pressed()); }

Fixed:

bool Checked(void) const { return(m_button.Pressed()); }

Regards,

Zoltan

Stuart Browne
5609
Stuart Browne 2015.02.11 09:00  
zmeszaros:

Hi,

I've found a small bug in:

\MQL4\Include\Controls\CheckBox.mqh (MT4 Version 4.00 Build 765)

Missing one const keyword in declarations of CCheckBox class.

Original (current) version:

bool Checked(void) { return(m_button.Pressed()); }

Fixed:

bool Checked(void) const { return(m_button.Pressed()); }

Regards,

Zoltan

Hi Zoltan

Please report any bugs to the Service Desk - they don't often hang around the forum ;) Thanks mate 

Zoltan Meszaros
1927
Zoltan Meszaros 2015.02.11 09:40  
Filter:

Hi Zoltan

Please report any bugs to the Service Desk - they don't often hang around the forum ;) Thanks mate 

Okey, thanks!
/
To add comments, please log in or register