Search found 38 matches

by fishnet37222
Wed Sep 26, 2018 4:06 pm
Forum: Platform Related Issues
Topic: Possible to add items to Gnome 3 application menu?
Replies: 4
Views: 251

Re: Possible to add items to Gnome 3 application menu?

Ubuntu doesn't use Unity anymore. In 18.04 they're using Gnome Shell. I'm able to add menus to the window itself without any problems. What I want to do is to add items to the menu that appears when you click the application's name in the top bar. You can see what I'm referring to in the screenshot ...
by fishnet37222
Fri Sep 21, 2018 2:19 pm
Forum: Platform Related Issues
Topic: Possible to add items to Gnome 3 application menu?
Replies: 4
Views: 251

Possible to add items to Gnome 3 application menu?

I was wondering if it's possible to add items to the Gnome 3 application menu. It's the menu I've placed a black rectangle around in the screenshot below. I'd like to be able to add items such as "About" and "Help" to the menu. Thanks in advance for any assistance. I'm using the version of wxGTK tha...
by fishnet37222
Wed Aug 22, 2018 1:15 pm
Forum: Platform Related Issues
Topic: Error when building static libraries on Linux
Replies: 2
Views: 198

Re: Error when building static libraries on Linux

Using libwbkitgtk-dev won't work for me since I'm building the library against GTK3. Here is my configure command:

Code: Select all

../configure --disable-shared --enable-graphics_ctx --with-cxx=14 --with-gtk=3 --disable-debug
I was able to get it to work by installing libwebkitgtk-3.0-dev.
by fishnet37222
Wed Aug 22, 2018 12:03 am
Forum: Platform Related Issues
Topic: Error when building static libraries on Linux
Replies: 2
Views: 198

Error when building static libraries on Linux

I am trying to build the static libraries for wxWidgets 3.1 on Linux Mint 19. I keep getting the error below every time I try to build them. ../src/gtk/webview_webkit2.cpp: In function ‘void wxgtk_initialize_web_extensions(WebKitWebContext*, GDBusServer*)’: ../src/gtk/webview_webkit2.cpp:414:9: erro...
by fishnet37222
Wed Aug 15, 2018 11:32 am
Forum: Platform Related Issues
Topic: How to prevent erasing the background of a custom control on macOS
Replies: 3
Views: 246

Re: How to prevent erasing the background of a custom control on macOS

I do not see any overload of wxWindow::Create() that allows you to set the background style. When I swap the two lines, the background becomes black. I basically want the background to be transparent. However, when I call wxWindow::IsTransparentBackgroundSupported(), it returns false and the reason ...
by fishnet37222
Wed Aug 15, 2018 3:34 am
Forum: Platform Related Issues
Topic: How to prevent erasing the background of a custom control on macOS
Replies: 3
Views: 246

How to prevent erasing the background of a custom control on macOS

I'm using wxWidgets 3.1.1 on macOS 10.14 with clang as the compiler. I've created a custom control by subclassing wxWindow. I'm having a hard time getting rid of the white that's showing at the corners of the control. 2018-08-14_23-23-08.png Here are the first two lines of code in the constructor: w...
by fishnet37222
Thu Apr 05, 2018 9:13 pm
Forum: Platform Related Issues
Topic: Help menu item duplicated on Mac.
Replies: 2
Views: 1679

Re: Help menu item duplicated on Mac.

It turns out I was creating the Help menu by passing a name into the constructor for the menu. When I took that string out, the disabled help menu item disappeared.
by fishnet37222
Thu Apr 05, 2018 5:28 pm
Forum: Platform Related Issues
Topic: Help menu item duplicated on Mac.
Replies: 2
Views: 1679

Help menu item duplicated on Mac.

Hello, I'm using wxWidgets 3.1.1 on macOS 10.13.5 Beta using the Xcode GCC compiler. I added a menu bar to my window with a menu titles "Help" and an item on that menu with an id of wxID_HELP. Instead of that menu item replacing the default "Help" item that's added to the Help menu, it's added as an...
by fishnet37222
Wed Mar 14, 2018 3:01 pm
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets on Ubuntu 17.10.1 fails
Replies: 4
Views: 1344

Re: Building wxWidgets on Ubuntu 17.10.1 fails

I ended up using the pre-built binaries available from http://codelite.org/LiteEditor/WxWidgets31Binaries#toc2. They seem to work without any issues and they were linked to from the wxWidgets downloads page.
by fishnet37222
Tue Mar 13, 2018 4:01 pm
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets on Ubuntu 17.10.1 fails
Replies: 4
Views: 1344

Re: Building wxWidgets on Ubuntu 17.10.1 fails

I included a list of the installed packages with "webkit2gtk" in their name, and the "-dev" package is installed.

By the way, I also tried building the stable 3.0.4 release and got the same error.
by fishnet37222
Tue Mar 13, 2018 3:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets on Ubuntu 17.10.1 fails
Replies: 4
Views: 1344

Building wxWidgets on Ubuntu 17.10.1 fails

I'm trying to build wxWidgets 3.1.1 on Ubuntu 17.10.1 but it keeps failing with the error below. ../src/gtk/webview_webkit2.cpp:414:9: error: ‘WX_WEB_EXTENSIONS_DIRECTORY’ was not declared in this scope I issued the command "apt list --installed | grep webkit2gtk" and the output is below. libwebkit2...
by fishnet37222
Wed Nov 15, 2017 5:18 pm
Forum: Platform Related Issues
Topic: Set application title under Gnome 3
Replies: 5
Views: 524

Re: Set application title under Gnome 3

I'm passing the title for the window in the constructor as in the following line. MainWindow::MainWindow() : wxFrame(nullptr, wxID_ANY, "My Music Collection") That sets the title for the window without any issues. However, the title displayed in the Gnome 3 top bar still shows the name of the execut...
by fishnet37222
Wed Nov 15, 2017 3:47 pm
Forum: Platform Related Issues
Topic: Set application title under Gnome 3
Replies: 5
Views: 524

Re: Set application title under Gnome 3

The application has a frame. You can look at the code on GitHub if you want.

https://github.com/fishnet37222/mymusiccollection
by fishnet37222
Tue Nov 14, 2017 2:07 pm
Forum: Platform Related Issues
Topic: Set application title under Gnome 3
Replies: 5
Views: 524

Set application title under Gnome 3

I've noticed that when I run a wxWidgets application under Gnome 3, the name that's displayed in the top bar is the name of the executable with the first letter capitalized. Is it possible to set it to a more user-friendly string? I tried calling both wxApp::SetAppName() and wxApp::SetAppDisplayName...
by fishnet37222
Thu Sep 21, 2017 3:04 am
Forum: Platform Related Issues
Topic: Retina support on macOS High Sierra
Replies: 7
Views: 1022

Re: Retina support on macOS High Sierra

My XPM files display fine using ImageMagick, which is what I used to create them. I honestly don't believe the issue has anything to do with the bitmaps I'm using.