Search found 6 matches

by monax
Mon Aug 30, 2010 3:26 pm
Forum: C++ Development
Topic: wxSplitterWindow hide right panel after double click
Replies: 2
Views: 773

Hi, If you mean it Unsplits after a double-click on the sash , that's a feature: see http://docs.wxwidgets.org/stable wxSplitterWindow::OnDoubleClickSash . You can see this happening in the 'splitter' sample too. If you don't want this behaviour, either set a non-zero minimum pane size, or catch EV...
by monax
Sun Aug 29, 2010 2:04 pm
Forum: C++ Development
Topic: wxSplitterWindow hide right panel after double click
Replies: 2
Views: 773

wxSplitterWindow hide right panel after double click

Hi! I write simple code with wxSplitterWindow. The right panel does not visible after double click by splitter. Why? #include <wx/wx.h> #include <wx/splitter.h> class MySplitApp : public wxApp { virtual bool OnInit(); }; class MySplitFrame : public wxFrame { public: MySplitFrame(const wxString& titl...
by monax
Thu Jul 08, 2010 6:28 am
Forum: Platform Related Issues
Topic: update to 2.8.11 on linux
Replies: 3
Views: 534

tnx. Yesterday I installed 2.8.11 from sources. It is very simple.
./configure --with-gtk
make
sudo make install
sudo ldconfig

I wanted install from reps because I installed wxwidgets from sources on windows and it not very simple. On linux all process it's very simple.
by monax
Wed Jul 07, 2010 7:21 pm
Forum: Platform Related Issues
Topic: update to 2.8.11 on linux
Replies: 3
Views: 534

update to 2.8.11 on linux

Hi!
I installed wxwidgets on my ubuntu using this manual http://wiki.wxwidgets.org/Installing_an ... der_Ubuntu. And now I have 2.8.10 version. I'd like to update to 2.8.11. Can I do it without compiling wxwidgets from sources?
by monax
Fri Jan 08, 2010 8:09 pm
Forum: wxWidgets Development (Russian)
Topic: Динамическое удаление контролов
Replies: 3
Views: 1546

Sizer :: Detach используешь? Нет не использую. У меня вопрос, а можно просто удалить контейнер? wxPanel* pane = new wxPanel(frame, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL|wxALL); wxBoxSizer* boxSizer = new wxBoxSizer(wxVERTICAL); pane->SetSizer(boxSizer); wxBitmapBut...
by monax
Thu Dec 31, 2009 3:22 pm
Forum: wxWidgets Development (Russian)
Topic: Динамическое удаление контролов
Replies: 3
Views: 1546

Динамическое удаление контролов

Нужно удалить контролы, которые добавляются динамически. void CreateDynamicBlock() { wxStaticBox* box = new wxStaticBox(scrollWindow, wxID_ANY, _("Caption text")); wxStaticBoxSizer* boxSizer = new wxStaticBoxSizer(box, wxHORIZONTAL); scrollWindow->GetSizer()->Add(boxSizer, 0, wxGROW|wxALL, 4); // по...