Commit 58a3504c authored by Andrey Fedorushkov's avatar Andrey Fedorushkov
Browse files

pcb calculator: fix localize GUI, native *nix string

parent e77af399
Loading
Loading
Loading
Loading
+72 −70
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
                    ${CMAKE_CURRENT_SOURCE_DIR}/dialogs
                    ${CMAKE_CURRENT_SOURCE_DIR}/transline
                    ${CMAKE_CURRENT_SOURCE_DIR}/attenuators
                    ../polygon
                    ${CMAKE_SOURCE_DIR}/common
                    )

set(PCB_CALCULATOR_SRCS
@@ -60,7 +62,7 @@ if(APPLE)
        ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
endif(APPLE)

target_link_libraries( pcb_calculator
target_link_libraries( pcb_calculator common polygon bitmaps
                        ${wxWidgets_LIBRARIES}
                        )

+17 −8
Original line number Diff line number Diff line
@@ -21,31 +21,40 @@
 * or you may write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */
#include "fctsys.h"
#include "appl_wxstruct.h"
#include "wxstruct.h"
#include "common.h"
#include "confirm.h"
#include "gestfich.h"

#include "wx/wx.h"
#include "wx/config.h"

#include "pcb_calculator_frame_base.h"
#include "pcb_calculator.h"

#include "bitmaps.h"
#include "colors_selection.h"
#include "build_version.h"

// PCB_CALCULATOR_APP

class PCB_CALCULATOR_APP : public wxApp
void WinEDA_App::MacOpenFile(const wxString &fileName)
{
public:
    virtual bool OnInit();
};

}

IMPLEMENT_APP( PCB_CALCULATOR_APP )
IMPLEMENT_APP( WinEDA_App )

///-----------------------------------------------------------------------------
// PCB_CALCULATOR_APP
// main program
//-----------------------------------------------------------------------------

bool PCB_CALCULATOR_APP::OnInit()
bool WinEDA_App::OnInit()
{
    SetVendorName( wxT( "kicad" ) );

    InitEDA_Appl( wxT( "PCBcalc" ) );

    wxFrame* frame = new PCB_CALCULATOR_FRAME( NULL );
    SetTopWindow( frame );
+195 −195

File changed.

Contains only whitespace changes.

+119 −119

File changed.

Contains only whitespace changes.

+97 −97

File changed.

Contains only whitespace changes.