Skip to content

Commit

Permalink
Merge pull request #991 from vktr/fix/wxwidgets-update
Browse files Browse the repository at this point in the history
Update wxWidgets, fix splitter flickering
  • Loading branch information
vktr committed Oct 20, 2020
2 parents b9816e4 + ddb2d0d commit 1a11ee9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ target_link_libraries(
${Boost_LIBRARIES}

# wxWidgets
core base propgrid
wxcore wxbase wxpropgrid

# Windows
Comctl32
Expand Down
2 changes: 2 additions & 0 deletions src/picotorrent/ui/mainframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ MainFrame::MainFrame(std::shared_ptr<Core::Environment> env, std::shared_ptr<Cor
m_menuItemFilters(nullptr),
m_ipc(std::make_unique<IPC::Server>(this))
{
m_splitter->SetWindowStyleFlag(
m_splitter->GetWindowStyleFlag() | wxSP_LIVE_UPDATE);
m_splitter->SetMinimumPaneSize(10);
m_splitter->SetSashGravity(0.5);
m_splitter->SplitHorizontally(
Expand Down
2 changes: 1 addition & 1 deletion vendor/wx
Submodule wx updated 2074 files

0 comments on commit 1a11ee9

Please sign in to comment.