Bug #622

Unwanted separator in IDE toolbar (Win32)

Added by Zbigniew Rebacz about 10 years ago. Updated about 10 years ago.

Status:ApprovedStart date:12/29/2013
Priority:LowDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:IDESpent time:-
Target version:-

Description

It seems that Win32 version of IDE draws unwanted separator in toolbar. What makes this issue? "Check for updates" option in "Setup" is only available on POSIX.

So we should add additional preprocessor directive in IDE::MainTool(Bar& bar):

void Ide::MainTool(Bar& bar)
{
    Edit(bar);
    if(debugger) {
        if(!designer)
            bar.Separator();
        DebugMenu(bar);
    }
    if(!designer)
        bar.Separator();
    Project(bar);
    BuildMenu(bar);
    if(!debugger) {
        bar.Separator();
        DebugMenu(bar);
    #ifdef PLATFORM_POSIX
        bar.Separator();
    #endif
    }
    else {
    #ifdef PLATFORM_POSIX
        bar.Separator();
    #endif
    }
    Setup(bar);
    BrowseMenu(bar);
}

idebar.cpp Magnifier - Version without additional preprocessor statements (20.8 KB) Zbigniew Rebacz, 12/29/2013 03:04 PM


Related issues

Precedes Bug #625: Console menu bar shoulde use standard copy and paste icon. Approved 01/04/2014

History

#1 Updated by Zbigniew Rebacz about 10 years ago

  • File deleted (idebar.cpp)

#2 Updated by Zbigniew Rebacz about 10 years ago

I have found better and easier solution. Can you Mirek check uploaded source file???

#3 Updated by Miroslav Fidler about 10 years ago

  • Status changed from New to Approved

Also available in: Atom PDF