Search found 3907 matches

by DavidHart
Sun Jun 28, 2020 4:14 pm
Forum: Platform Related Issues
Topic: Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions
Replies: 4
Views: 66

Re: Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions

Hi, This is Linux, where static-linking is unusual and monolithic rare. I wouldn't be at all surprised if you were the first to try configuring with the particular combination of --with-opengl --disable-shared --enable-monolithic --enable-webview --enable-webviewwebkit --enable-mediactrl --with-gtk=...
by DavidHart
Sat Jun 27, 2020 11:38 am
Forum: Platform Related Issues
Topic: MDI code example - not fully working under Linux
Replies: 9
Views: 216

Re: MDI code example - not fully working under Linux

Retesting with 3.1.3, it still works. (debian buster, LXQT). . mdi.png However I did notice that the writing doesn't persist: add another child window, or switch to a different program and back, and the lines have disappeared. That's because it's painting on a wxClientDC, not a wxPaintDC in a painte...
by DavidHart
Fri Jun 26, 2020 4:27 pm
Forum: Platform Related Issues
Topic: MDI code example - not fully working under Linux
Replies: 9
Views: 216

Re: MDI code example - not fully working under Linux

IIUC what you were testing the (draw-on-the-screen facility) it works for me, in both GTK+2 and +3 builds of wx3.0.5.
Which wx version did you use?
by DavidHart
Fri Jun 26, 2020 10:49 am
Forum: Platform Related Issues
Topic: MDI code example - not fully working under Linux
Replies: 9
Views: 216

Re: MDI code example - not fully working under Linux

Hi,

I've not (yet) tested the sample here, but: why use MDI nowadays?

For a less-antique near equivalent, have a look at the 'aui' sample.

Regards,

David
by DavidHart
Sun Jun 14, 2020 1:30 pm
Forum: wxCode
Topic: wxPdfDocument how to select wich version of GTK to use
Replies: 4
Views: 362

Re: wxPdfDocument how to select wich version of GTK to use

Default config is gtk3-unicode-3.1 So that's why the gtk3 build is being used. How did you configure/install your 2 wx builds? Did you: ../configure --with-gtk=<whichever> && make && sudo make install or (the way I much prefer): ../configure --with-gtk=<whichever> --prefix=$(pwd) && make The first ...
by DavidHart
Sun Jun 14, 2020 11:38 am
Forum: wxCode
Topic: wxPdfDocument how to select wich version of GTK to use
Replies: 4
Views: 362

Re: wxPdfDocument how to select wich version of GTK to use

Hi, I don't know anything about wxPdfDocument (and you don't give any details about how you are building it) but I suspect that your issue is an example of the standard 'which wx version to use?' question. When building any program against wx on Linux, its makefile (or similar) will probably use the...
by DavidHart
Thu Jun 11, 2020 2:40 pm
Forum: Platform Related Issues
Topic: Debian aplication is blocked after theme change
Replies: 3
Views: 101

Re: Debian aplication is blocked after theme change

Hi,

By 'blocked', do you mean it freezes, or that it is painted in blocks (squares) of colour, rather than following the edges of the controls?

Anyway, if other themes are OK, it is more likely a bug of that theme, or the theme engine, and not a wx issue.

Regards,

David
by DavidHart
Mon Jun 08, 2020 3:15 pm
Forum: Platform Related Issues
Topic: gtk3 black wxFrame problem
Replies: 13
Views: 294

Re: gtk3 black wxFrame problem

I see what you mean. Not quite the same situation but, FWIW, this is an old comment from my own code: void FileDirDlg::OnEraseBackground(wxEraseEvent& event) // This is only needed in gtk2 under kde and brain-dead theme-manager, but can cause a blackout in some gtk3(themes?) So, do you actually need...
by DavidHart
Mon Jun 08, 2020 1:44 pm
Forum: Platform Related Issues
Topic: gtk3 black wxFrame problem
Replies: 13
Views: 294

Re: gtk3 black wxFrame problem

But... EVT_ERASE_BACKGROUND(dMyFrame::OnEraseBackground) EVT_PAINT(dMyFrame::OnPaint) If you have a panel filling the frame, surely you should be erasing/painting that panel instead. FWIW, I don't have that sort of problem with debian 10 and gtk3, and I didn't previously with debian 9. Which DE and ...
by DavidHart
Mon Jun 08, 2020 11:45 am
Forum: Platform Related Issues
Topic: gtk3 black wxFrame problem
Replies: 13
Views: 294

Re: gtk3 black wxFrame problem

Hi, Possibly a variant of https://wiki.wxwidgets.org/WxFAQ#Why_are_backgrounds_of_windows_ugly.2C_dark_grey_on_Windows.3F_I_want_them_like_my_dialog_boxes. . In any case, it fixes/prevents various issues to do with size/colour/events/etc if you always add a wxPanel to a wxFrame as the frame's only c...
by DavidHart
Sun Jun 07, 2020 12:58 pm
Forum: Platform Related Issues
Topic: no webview sample on Linux
Replies: 2
Views: 212

Re: no webview sample on Linux

Hi, But thear's no webview sample on compiled folders I should define wxUSE_WEBVIEW somewhere No, it almost certainly means that 'configure' has noticed that your system is missing the webview dependencies. To confirm that, have a look at the configure output in <builddir>/config.log. The solution d...
by DavidHart
Sun May 31, 2020 11:28 am
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 12
Views: 1228

Re: Error "The submitted form was invalid"

I too have noticed that noon is a common time for these problems
Today I had problems at 0800, which had resolved by 0930; so the daylight-saving idea is probably wrong.
by DavidHart
Sat May 30, 2020 4:22 pm
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 12
Views: 1228

Re: Error "The submitted form was invalid"

I noticed yesterday and earlier today that clicking 'Mark topics read' in a subforum seemed to work at the time, but a later refresh marked the same posts Unread. It's resolved now. It happened to me as well, around noon CEST. I too have noticed that noon is a common time for these problems, and tha...
by DavidHart
Thu May 21, 2020 9:30 am
Forum: Platform Related Issues
Topic: wxGTK (vcpkg): Error loading theme icon
Replies: 1
Views: 114

Re: wxGTK (vcpkg): Error loading theme icon

Hi, FWIW, I couldn't reproduce the problem in a 20.04 virtualbox guest, testing the 'dialogs' sample built against the wx3.1.3 obtainable from this link . As you say, there are various possible reasons, missing entries in the icon theme being my best guess (I had a similar problem testing AppImages ...
by DavidHart
Mon May 18, 2020 4:03 pm
Forum: Platform Related Issues
Topic: X button in upper right corner of modal dialog
Replies: 8
Views: 272

Re: X button in upper right corner of modal dialog

No, vice versa:

Code: Select all

-        m_dialog->Show(true);
+        m_dialog->ShowModal();