const wxString& name)
{
if ( !wxWindow::Create(parent, id, pos, size, style, name) )
const wxString& name)
{
if ( !wxWindow::Create(parent, id, pos, size, style, name) )
// Set it to grey (or other 3D face colour)
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
// Set it to grey (or other 3D face colour)
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
// No second bitmap, so draw a thick line around bitmap, or invert if mono
else if ( tool->IsToggled() )
{
// No second bitmap, so draw a thick line around bitmap, or invert if mono
else if ( tool->IsToggled() )
{
#ifdef __X__ // X doesn't invert properly on colour
drawBorder = wxColourDisplay();
#else // Inversion works fine under Windows
#ifdef __X__ // X doesn't invert properly on colour
drawBorder = wxColourDisplay();
#else // Inversion works fine under Windows
- SetScrollbar(wxHORIZONTAL, 0, 0, 0, FALSE);
+ SetScrollbar(wxHORIZONTAL, 0, 0, 0, false);
- SetScrollbar(wxVERTICAL, 0, 0, 0, FALSE);
+ SetScrollbar(wxVERTICAL, 0, 0, 0, false);