Search found 488 matches

by raananb
Fri Nov 17, 2023 12:17 pm
Forum: C++ Development
Topic: wxComboBox enterwindow event
Replies: 8
Views: 2679

Re: wxComboBox enterwindow event

@doublemax I opted for a combobox so that the user can recall previous search arguments. As for the behavior, I agree with your comment, all the more so since when the EVT_ENTER_WINDOW is fired the field is cleared only if it contains the default "Search..." indicator. Any other text is le...
by raananb
Thu Nov 16, 2023 2:37 pm
Forum: C++ Development
Topic: wxComboBox enterwindow event
Replies: 8
Views: 2679

Re: wxComboBox enterwindow event

wxComboBox allows to memorize search arguments, which wxSearchctrl does not. This can be very useful in the context of my appliaction.
by raananb
Mon Nov 13, 2023 9:29 am
Forum: C++ Development
Topic: wxComboBox enterwindow event
Replies: 8
Views: 2679

Re: wxComboBox enterwindow event

Hi, Using EVT_ENTER_WINDOW allows to clear the 'Search...' displayed in the ComboBox automatically when the user moves the cursor into the ComboBox, which I find user-friendly. Under OSX, this construction works with TextCtrl, but fails with ComboBox when If you have another suggestion on how to ach...
by raananb
Sun Nov 12, 2023 4:57 pm
Forum: C++ Development
Topic: wxComboBox enterwindow event
Replies: 8
Views: 2679

Re: wxComboBox enterwindow event

Enclosed is a patch for minimal.cpp

OSX version is 10.15.7
Thanks
by raananb
Sat Nov 11, 2023 3:33 pm
Forum: C++ Development
Topic: wxComboBox enterwindow event
Replies: 8
Views: 2679

wxComboBox enterwindow event

wxWidgets 3.2.2.1

wxEVT_ENTER_WINDOW for wxComboBox is processed as expected in Windows 10 & GTK, but no event is generated under OSX 15.7

Is this a bug ?
by raananb
Wed Aug 30, 2023 8:35 pm
Forum: C++ Development
Topic: wxListCtrl item selected and item right-click events
Replies: 2
Views: 937

Re: wxListCtrl item selected and item right-click events

Replacing the ListCtrl by a Grid removes the issue.
by raananb
Tue Aug 29, 2023 3:38 pm
Forum: C++ Development
Topic: wxListCtrl item selected and item right-click events
Replies: 2
Views: 937

wxListCtrl item selected and item right-click events

With Windows 10 & wxWidgets 3.2.2.1, when EVT_LIST_ITEM_SELECTED and EVT_LIST_ITEM_RIGHT_CLICK are declared for a wxListCtrl, a left-click on an item is processed by the EVT_LIST_ITEM_SELECTED handler, while a right-click on an item also ends up in the EVT_LIST_ITEM_SELECTED handler instead of i...
by raananb
Thu Jun 29, 2023 11:31 am
Forum: C++ Development
Topic: wxGrid::FreezeTo() broken
Replies: 2
Views: 799

Re: wxGrid::FreezeTo() broken

You are correct. I missed the limitation regarding merged cells. What a pity, since merged cells are a basic need in displaying data. To try and solve the issue for my application, I copied grid.cpp to mygrid.cpp in my application, and commented all the code in FreezeTo() related to merged cells (li...
by raananb
Thu Jun 29, 2023 9:43 am
Forum: C++ Development
Topic: wxGrid::FreezeTo() broken
Replies: 2
Views: 799

wxGrid::FreezeTo() broken

Under Windows 10 & 3.2.2.1, when a grid contains rows with spanned cells, FreezeTo() does not work. The desired design is https://www.pixname.com/00/Spanned_cells_Yes.jpg The spanned cells are obtaind by for (int col = 0; col <= nbCols; col+=2) { // set spanned cells grid->SetCellSize(0, col, 1,...
by raananb
Wed Mar 29, 2023 4:25 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.2.2.1 issue with webview
Replies: 2
Views: 1990

Re: 3.2.2.1 issue with webview

webview.lib was not included in the link library. I added the library to both the Release and the Debug builds and things are back to normal.

This issue is odd, since the library was not explicitly included in the 3.2.1 build and there were no problems.

Thanks.
by raananb
Wed Mar 29, 2023 2:57 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.2.2.1 issue with webview
Replies: 2
Views: 1990

3.2.2.1 issue with webview

Windows 10 & Visual Studio Community 2022. 1. When VS builds my application - which uses wxWebView - with wxWidgets-3.2.1 there are no problems. 3.2.1 1> Creating library VCProjectDebug\AccountsManager.lib and object VCProjectDebug\AccountsManager.exp 1>AccountsManager.vcxproj -> D:\ProjetsDB\Ac...
by raananb
Wed Mar 22, 2023 10:22 am
Forum: Platform Related Issues
Topic: wxWebRequest backends
Replies: 4
Views: 3850

Re: wxWebRequest backends

In the past I used WebView and the backend issue arose there, and this is why implying a backend by API was not clear. I guess different developers use different terms. Maybe the doc needs improvement.
by raananb
Wed Mar 22, 2023 9:51 am
Forum: Platform Related Issues
Topic: wxWebRequest backends
Replies: 4
Views: 3850

Re: wxWebRequest backends

Thanks for the information. To me it was not clear that API means backend.
by raananb
Wed Mar 22, 2023 8:05 am
Forum: Platform Related Issues
Topic: wxWebRequest backends
Replies: 4
Views: 3850

wxWebRequest backends

Mint 21.2
wxWidgets-3.2.1
/include/gtk/setup.h has #define wxUSE_WEBREQUEST 1

Code: Select all

../configure --with-gtk=3 --enable-webrequest config.log displays a warning:
Disabling wxWebRequest because no backends are available
What is the backend for .deb linux?
by raananb
Tue Mar 21, 2023 9:15 am
Forum: C++ Development
Topic: wxWebRequest Check file exists
Replies: 0
Views: 66538

wxWebRequest Check file exists

Is it possible to check if a file exists with wxWebRequest without trying to download the file?