Search found 19 matches
- Thu Jun 23, 2022 1:32 pm
- Forum: C++ Development
- Topic: spell checking
- Replies: 1
- Views: 162
spell checking
Hi, Since 3.1.6 is now possible enable the spell check for wxTextCtrl. Nice, but it seems to be not accessible with a screen-reader like in MS-Word. Is there a way to parse the text in the text box, searching for words in red underlined? I have tried without success to check style and wxTextAttr pro...
- Thu Nov 04, 2021 6:13 pm
- Forum: C++ Development
- Topic: Web Request HTTPS
- Replies: 4
- Views: 1684
Re: Web Request HTTPS
Yes I'm using 3.1.5 but I get: "‘wxWebRequest’ was not declared in this scope;"
I included <wx/webrequest.h>
It seems wxWebRequest itself is disabled... have I to rebuild the library with some kind of option?
Thanks
I included <wx/webrequest.h>
It seems wxWebRequest itself is disabled... have I to rebuild the library with some kind of option?
Thanks
- Thu Nov 04, 2021 5:35 pm
- Forum: C++ Development
- Topic: Web Request HTTPS
- Replies: 4
- Views: 1684
Web Request HTTPS
Hi,
In my App (Linux, Windows) I need to call a simple web page to get some JSON data.
Unfortunately the URL is HTTPS type. So wxURL and wxHTTP don't seem to be the right way. Is there any simple alternative?
Thanks
In my App (Linux, Windows) I need to call a simple web page to get some JSON data.
Unfortunately the URL is HTTPS type. So wxURL and wxHTTP don't seem to be the right way. Is there any simple alternative?
Thanks
- Fri Apr 23, 2021 2:37 pm
- Forum: C++ Development
- Topic: Bind Dialog Event with a MainWindow handler
- Replies: 6
- Views: 1339
Re: Bind Dialog Event with a MainWindow handler
Exactly what I was looking for. Great!
I really understood a lot of things better today
Thank you
I really understood a lot of things better today
Thank you
- Fri Apr 23, 2021 11:00 am
- Forum: C++ Development
- Topic: Bind Dialog Event with a MainWindow handler
- Replies: 6
- Views: 1339
Bind Dialog Event with a MainWindow handler
Hi, I'm trying to develop a program with a main window and a dialog. The general idea is that when I press a button in the dialog the text into a main window ctrltext changes. I'm confused about how to bind the wxEVT_COMMAND_BUTTON_CLICKED with the main windows function/handler Thanks for any feedback
- Thu Apr 02, 2020 8:29 am
- Forum: C++ Development
- Topic: Resize a window full width
- Replies: 12
- Views: 2507
Re: Resize a window full width
Thank you all for your support. As suggested I have solved the problem by increasing, on windows, by 8 pixels to the right, left and bottom.
- Fri Mar 27, 2020 12:16 pm
- Forum: C++ Development
- Topic: Resize a window full width
- Replies: 12
- Views: 2507
Re: Resize a window full width
I ran some tests: 1) On windows wx version 3.1.3 the code doesn't work as aspected 2) On windows wx version 3.0.4 it doesn't work as aspected 3) On Linux wx version 3.1.1 it WORKS :D ! (It was just a test, I need a windows software, unfortunately) On Windows in debugging mode, I followed step by ste...
- Thu Mar 26, 2020 6:00 pm
- Forum: C++ Development
- Topic: Resize a window full width
- Replies: 12
- Views: 2507
Re: Resize a window full width
Yes, display.GetClientArea() returns the expected values (1920x1040) I tested the code in the minimal sample and I got the same problem... I pasted the code into MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) Unfortunately, I removed an old version of wx library (useful to test) but at this p...
- Thu Mar 26, 2020 2:32 pm
- Forum: C++ Development
- Topic: Resize a window full width
- Replies: 12
- Views: 2507
Resize a window full width
Hi, Simplifying what I need with an example: I'm trying to implement a button that changes the position and the size of the window. In the end, the windows should have a size s=(full-width, 250 pixels) and be positioned on the top of my display. The following code works... but the window is some pix...
- Tue Oct 22, 2019 1:30 pm
- Forum: Platform Related Issues
- Topic: wxEVT_SET_FOCUS on Linux
- Replies: 6
- Views: 2382
Re: wxEVT_SET_FOCUS on Linux
The event.GetActive() reduces the noise :D Now the code works perfectly: - when the NewFrame is created by the MainFrame button and receives the focus - when I switch the focus using the keyboard - correctly OnSetFocus1() doesn't run when I click/select the MainFrame If I select the NewFrame using t...
- Thu Oct 17, 2019 12:25 pm
- Forum: Platform Related Issues
- Topic: wxEVT_SET_FOCUS on Linux
- Replies: 6
- Views: 2382
Re: wxEVT_SET_FOCUS on Linux
You mean that the button Bind() does? Yes, it worked. But I tested the following and it sounds like a good workaround in my case. BEGIN_EVENT_TABLE(NewFrame,wxFrame) //(*EventTable(NewFrame) EVT_ACTIVATE(NewFrame::OnSetFocus1) //*) END_EVENT_TABLE() void NewFrame::OnSetFocus1(wxActivateEvent& e...
- Thu Oct 17, 2019 9:54 am
- Forum: Platform Related Issues
- Topic: wxEVT_SET_FOCUS on Linux
- Replies: 6
- Views: 2382
Re: wxEVT_SET_FOCUS on Linux
Thanks for the reply David, Yes, my codes are minimal problem demostrations. I don't need an empty frame. I followed your tips and tried to use Bind for the main panel and for a button. The first, the most important for me, doesn't work. Hier the source code NewFrame::NewFrame(wxWindow* parent,wxWin...
- Wed Oct 16, 2019 9:05 am
- Forum: Platform Related Issues
- Topic: wxEVT_SET_FOCUS on Linux
- Replies: 6
- Views: 2382
wxEVT_SET_FOCUS on Linux
I have a main frame that opens with a button a new frame. On Linux, I cannot detect when the second frame gets the focus. On Windows, it works fine. a) Is there an error in my code? b) Is it a known bug? c) Is there a workaround? Thanks for the help NewFrame::NewFrame(wxWindow* parent,wxWindowID id,...
- Mon Mar 19, 2018 12:46 pm
- Forum: Platform Related Issues
- Topic: Button get focus, layout doesn't change
- Replies: 3
- Views: 1037
Re: Button get focus, layout doesn't change
Hi,
Thanks for your test on other distros.
Ideas to implement a workaround?
Thanks
p.s. Button1->SetDefault() changes the layout of the Button1, why not also the focus after the tab_traversal...
Thanks for your test on other distros.
Ideas to implement a workaround?
Thanks
p.s. Button1->SetDefault() changes the layout of the Button1, why not also the focus after the tab_traversal...
- Mon Mar 19, 2018 9:37 am
- Forum: Platform Related Issues
- Topic: Button get focus, layout doesn't change
- Replies: 3
- Views: 1037
Button get focus, layout doesn't change
Hi,
I'm working on a cross-platform GUI. On Linux when a button receives the focus doesn't change its look (no highlight frame around the button as usual).
Is it a known problem? Or a misconfiguration of my environment... any info?
Many thanks
OS: Linux Mint
wx: 3.0.3 and 3.1.1
code::block & gcc
I'm working on a cross-platform GUI. On Linux when a button receives the focus doesn't change its look (no highlight frame around the button as usual).
Is it a known problem? Or a misconfiguration of my environment... any info?
Many thanks
OS: Linux Mint
wx: 3.0.3 and 3.1.1
code::block & gcc