Search found 74 matches

by fishnet37222
Fri Feb 23, 2024 10:20 pm
Forum: C++ Development
Topic: Showing the status bar after the window has already loaded doesn't work properly.
Replies: 3
Views: 2346

Showing the status bar after the window has already loaded doesn't work properly.

I'm working on an application where the user will be able to hide and show the status bar and the setting will be persisted across launches. If the status bar is visible at launch, then hiding and showing it works properly. However, if the status bar is not visible at launch and is later made visibl...
by fishnet37222
Mon Jan 16, 2023 8:57 am
Forum: Platform Related Issues
Topic: Link error when using wxAppConsole
Replies: 1
Views: 929

Link error when using wxAppConsole

I'm using wxWidgets 3.2.1 in Visual Studio 2022. I'm trying to create a console-only app by using wxAppConsole. When I try to build the app, I get the error shown below. If I change the app to use wxApp instead of wxAppConsole, it builds without any errors. 1>------ Build started: Project: Tail, Con...
by fishnet37222
Mon Nov 28, 2022 3:35 am
Forum: Platform Related Issues
Topic: wxBitmapButton does not resize to show entire bitmap on Linux
Replies: 1
Views: 2511

wxBitmapButton does not resize to show entire bitmap on Linux

I'm using wxWidgets 3.2.1 compiled on Linux Mint 21 against GTK3. The app I'm creating uses a wxBitmapButton. I've noticed that the control does not resize to fit the entire bitmap. See the screenshot below. Screenshot from 2022-11-27 22-22-44.png This is what the bitmap should look like. smile-1.pn...
by fishnet37222
Wed Aug 24, 2022 11:50 am
Forum: Platform Related Issues
Topic: wxwidgets.props doesn't work as shipped.
Replies: 1
Views: 685

wxwidgets.props doesn't work as shipped.

I've noticed an issue with the wxwidgets.props file as it is shipped in the archive. When I add it to my project without modifying it, the evaluated directories appear as shown in the screenshot below. This obviously will not compile because this is not where the wxWidgets headers and libraries are ...
by fishnet37222
Mon Aug 22, 2022 2:05 pm
Forum: Platform Related Issues
Topic: [SOLVED] Custom window icons not appearing on Cinnamon taskbar
Replies: 4
Views: 1275

Re: Custom window icons not appearing on Cinnamon taskbar

I tried the "widgets" sample, and the custom icon appeared. I compared the icon that it was using with the icons I tried to use, and it appears that Cinnamon doesn't like big window icons. When I resized my icon to be 32x32, it worked as expected.
by fishnet37222
Mon Aug 22, 2022 12:38 pm
Forum: Platform Related Issues
Topic: [SOLVED] Custom window icons not appearing on Cinnamon taskbar
Replies: 4
Views: 1275

Re: Custom window icons not appearing on Cinnamon taskbar

Here are the two different XPM icons I tried. They both work without issue on KDE Plasma.
by fishnet37222
Mon Aug 22, 2022 3:33 am
Forum: Platform Related Issues
Topic: [SOLVED] Custom window icons not appearing on Cinnamon taskbar
Replies: 4
Views: 1275

[SOLVED] Custom window icons not appearing on Cinnamon taskbar

I'm using wxWidgets 3.2.0 on Linux Mint 21 with GCC 11.2.0. I've noticed an issue with custom window icons. If I don't set any custom icon for the window, I get Cinnamon's default icon as expected: Screenshot from 2022-08-21 23-22-54.png However, when I set a custom icon for the window, the icon app...
by fishnet37222
Tue Jul 19, 2022 2:12 pm
Forum: Compiler / Linking / IDE Related
Topic: How to use "wxwidgets.props" to select static libraries
Replies: 1
Views: 1015

How to use "wxwidgets.props" to select static libraries

I'm using Visual Studio 2022 and wxWidgets 3.2.0. I'm playing around with using the provided "wxwidgets.props" file. My project builds without any issues, but it selects the DLL version of the libraries by default, which means that I have to somehow copy the DLLs to the output folder. I kn...
by fishnet37222
Sun Feb 27, 2022 8:29 pm
Forum: C++ Development
Topic: How to ensure two flexibly-sized columns in wxGridBagSizer get equal sizes.
Replies: 1
Views: 221

How to ensure two flexibly-sized columns in wxGridBagSizer get equal sizes.

I'm using a wxGridBagSizer to help layout the controls in an app I'm working on. I've got two flexibly-sized columns separated by a small fixed-size column. I'd like to make sure the two flexibly-sized columns receive the same size regardless of their contents. In the screenshot below I've outlined ...
by fishnet37222
Mon Jan 31, 2022 1:35 am
Forum: C++ Development
Topic: How to receive notification when wxTextCtrl insertion point changes
Replies: 4
Views: 395

How to receive notification when wxTextCtrl insertion point changes

I'm using wxWidgets 3.16 on Windows 10 with Visual Studio 2022. As a programming exercise, I'm trying to create my own implementation of the Windows Notepad app. Notepad has a field in its status bar that is updated whenever the location of the insertion point changes. I'm having trouble getting tha...
by fishnet37222
Tue Jan 04, 2022 8:05 pm
Forum: Platform Related Issues
Topic: Calling "GetPageSource()" on wxWebViewEdge does not work.
Replies: 1
Views: 430

Calling "GetPageSource()" on wxWebViewEdge does not work.

I'm using Windows 10 build 19041 and Visual Studio 2022. I compiled wxWidgets from the GitHub repo. When I try to call "GetPageSource()" on the wxWebView control when using the Edge backend, the call fails. When I put the call in a try-catch block and use the "..." notation to ca...
by fishnet37222
Thu Dec 09, 2021 3:48 pm
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 58
Views: 111029

Re: Error "The submitted form was invalid"

For me, the issue only occurs with Chromium-based browsers such as Edge and Vivaldi. Right now I have to use Firefox in order to create new threads or respond to existing ones.
by fishnet37222
Thu Dec 09, 2021 3:43 pm
Forum: Platform Related Issues
Topic: [SOLVED] Problems using wxWebViewBackendEdge
Replies: 1
Views: 914

Re: Problems using wxWebViewBackendEdge

It turns out I was having a brain fart and forgot to use the overload of wxWebView::New() that allows you to pass in the owner window. Once I changed my code to use the correct overload, everything worked correctly.
by fishnet37222
Thu Dec 09, 2021 3:07 pm
Forum: Platform Related Issues
Topic: [SOLVED] Problems using wxWebViewBackendEdge
Replies: 1
Views: 914

[SOLVED] Problems using wxWebViewBackendEdge

I'm experiencing some issues when trying to use the Edge backend for wxWebView. I'm using Visual Studio 2022 on Windows 10. I compiled wxWidgets from the GitHub repository. Here is the code that sets up the wxWebView control: if (wxWebView::IsBackendAvailable(wxWebViewBackendEdge)) { this->webView =...