← Back to team overview

kicad-developers team mailing list archive

Re: New version of net selector up

 

Argh.  The dreaded SetColumnWidth() again.  (It’s #defined to the new name for it on OSX, but not on MSW.)

> On 27 Sep 2018, at 18:44, Thomas Pointhuber <thomas.pointhuber@xxxxxx> wrote:
> 
> Hi Jeff,
> 
> I like the idea, but it still has some problems on my system:
> 
> * I cannot enter any text into the filter field
> * It still expands to the bottom of screen (at least there are now
> scroll bars)
> 
> 
> As sidenote, I was required to revert e456ecd0a15d3fb to get it actually
> built on wx3.1:
> 
> 
> ```
> kicad-source-mirror/eeschema/dialogs/dialog_fields_editor_global.cpp:727:21:
> error: no member named 'SetColumnWidth' in 'WX_GRID'
>            m_grid->SetColumnWidth( col, std::min( std::max( 50,
> textWidth ), maxWidth ) );
>            ~~~~~~  ^
> kicad-source-mirror/eeschema/dialogs/dialog_fields_editor_global.cpp:729:21:
> error: no member named 'SetColumnWidth' in 'WX_GRID'
>            m_grid->SetColumnWidth( col, std::min( std::max( 100,
> textWidth ), maxWidth ) );
>            ~~~~~~  ^
> kicad-source-mirror/eeschema/dialogs/dialog_fields_editor_global.cpp:869:13:
> error: no member named 'SetColumnWidth' in 'WX_GRID'
>    m_grid->SetColumnWidth( m_dataModel->GetColsCount() - 1, 50 );
>    ~~~~~~  ^
> 3 errors generated.
> ```
> 
> 
> Application: kicad
> Version: (6.0.0-rc1-dev-626-g13d6358dc), debug build
> Libraries:
>    wxWidgets 3.1.1
>    libcurl/7.61.1 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
> (+libidn2/2.0.4) nghttp2/1.33.0
> Platform: Linux 4.18.9-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
> Build Info:
>    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
>    Boost: 1.68.0
>    OpenCASCADE Community Edition: 6.9.1
>    Curl: 7.61.1
>    Compiler: Clang 6.0.1 with C++ ABI 1002
> 
> Build settings:
>    USE_WX_GRAPHICS_CONTEXT=OFF
>    USE_WX_OVERLAY=OFF
>    KICAD_SCRIPTING=ON
>    KICAD_SCRIPTING_MODULES=ON
>    KICAD_SCRIPTING_WXPYTHON=OFF
>    KICAD_SCRIPTING_ACTION_MENU=ON
>    BUILD_GITHUB_PLUGIN=ON
>    KICAD_USE_OCE=ON
>    KICAD_USE_OCC=OFF
>    KICAD_SPICE=ON
> 
> Regards, Thomas
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp



References