Search found 180 matches

by Wolfgang
Thu Dec 07, 2023 6:13 am
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 1914

Re: SetLabel is not wxStaticText

Changed it back to the first version, so I could quote the error for you.

Now I found out that:
wxyield makes it gray. (in Debugger (if breakpoint is before it)
stati->Update(); not needed but it works with wxYiled()
by Wolfgang
Thu Dec 07, 2023 5:45 am
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 1914

Re: SetLabel is not wxStaticText

Here the exact error Message ./src/common/sizer.cpp(887): assert "CheckExpectedParentIs(w, m_containingWindow)" failed in SetContainingWindow(): Windows managed by the sizer associated with the given window must have this window as parent, otherwise they will not be repositioned correctly....
by Wolfgang
Wed Dec 06, 2023 10:26 pm
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 1914

Re: SetLabel is not wxStaticText

Was runtime error. The error, was at panela->SetSizerAndFit(sp_sizer); As the parent of panela has in wxwindow NULL, it complained that the sizer needs a parent. Wx 3.2.2 I used the one in debian. For the 3.1.4 version I'm not sure, is already some time ago. Changed computer, therefore installed eve...
by Wolfgang
Wed Dec 06, 2023 7:21 pm
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 1914

Re: SetLabel is not wxStaticText

The code was working in wxwidgets 3.1.4. But after changing to 3.2.2 it shows the need parent error, so the programm stops there. In the current code I also tried to replace the wrapsizer with a boxsizer, but the same result it did not update. I'm on wxwidgets 3.2.2 on debian 12. This was the previo...
by Wolfgang
Wed Dec 06, 2023 3:36 pm
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 1914

Re: SetLabel is not wxStaticText

Yes the event is firing as, only when this event gets fired all the information gets loaded. and the programm is working, it just does not update the wxstatictext with setlabel. It worked earlier, but I had to change it as the sizer configuration I had earlier, needed a parent, which was not present...
by Wolfgang
Wed Dec 06, 2023 9:49 am
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 1914

SetLabel is not updating wxStaticText

When I call setlabel to change the text it just show it empty. Declaration extern wxWrapSizer* sizer_1; First Usage: MySplash::MySplash(const wxString& title) : wxFrame(NULL,spl_win, title,wxDefaultPosition,wxDefaultSize,0) { SetSize(wxSize(300, 400)); SetTitle(title); sizer_1 = new wxWrapSizer(...
by Wolfgang
Fri Apr 24, 2020 5:44 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

gnome but wayland switched off.
by Wolfgang
Thu Apr 23, 2020 12:49 pm
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

I guess I now found a possible reason for the problem. Not that I would be able to change it. But I try to explain what I think the problem is. In Linux the resize will be most likely generic, but only for frames and (windows) not for panes of AUI. In my case I somehow managed to get the resize runn...
by Wolfgang
Thu Apr 23, 2020 11:18 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

With not shown at all I mean, in Linux I see the right lower corner marked if I can resize it. And it is not marked when I use the standard aui demo and add Resizable(true) to it.

In my programm it is only shown, wehn I open the pane(s) before I opened another frame.
by Wolfgang
Thu Apr 23, 2020 10:12 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

That is the one I used to have the same code as in my programm: void MyFrame::OnCreateTree(wxCommandEvent& WXUNUSED(event)) { m_mgr.AddPane(CreateTreeCtrl(), wxAuiPaneInfo(). Name("Test").Resizable(true).Caption("Bibel").CloseButton(true).Dockable(false).Float().CaptionVisibl...
by Wolfgang
Thu Apr 23, 2020 10:10 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

Windows is working. did you try the normal demo and just add Resizable, inside one of the onCreate methods? And this in Linux?
by Wolfgang
Thu Apr 23, 2020 4:25 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

I tried just to add Resizable(true) to one of the Oncreate in the originial AuiDemo and there the resize posibility is not shown at all. So resizeable not possible. How I managed that it is shown by mine, I do not know, and also why it is shown when new pane is created before new frames are created....
by Wolfgang
Thu Apr 23, 2020 3:48 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

Lib gtk 3.24.5-1
by Wolfgang
Wed Apr 22, 2020 4:41 pm
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

GTK 3.0 WxWidgets 3.1.3 In the sample I did not try it yet, anyway there is resize to a not dockable not included so i will have to rewrite it. Will do that in the next days. But as said it works as long as I open the other panes first and only then open other frames. If I open another frame first t...
by Wolfgang
Wed Apr 22, 2020 12:30 pm
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2478

Re: Aui -Htmlwindow

What I forgot, I use it in Linux.