Search found 14 matches

by gunterkoenigsmann
Sun Nov 29, 2020 8:12 am
Forum: C++ Development
Topic: Hover effect on a panel with children
Replies: 11
Views: 3883

Re: Hover effect on a panel with children

Found a solution: Each element and child element will issue wxEVT_ENTER_WINDOW and wxEVT_LEAVE_WINDOW signals if the mouse pointer enters and leaves the window so the application can maintain a flag for each element telling if the mouse pointer is inside this wxWindow. These signals might arrive mor...
by gunterkoenigsmann
Fri Sep 06, 2019 3:17 pm
Forum: Compiler / Linking / IDE Related
Topic: Setting up wxWidgets to compile with a custom project
Replies: 5
Views: 2513

Re: Setting up wxWidgets to compile with a custom project

I'm currently at the point the user who asked the original question was at: wxWidgets at compile time looks if the system provides a zlib, libpng etc. In Linux they are normally provided by the system. On Windows installing each dependency one by one by hand is possible but hard work => for this cas...
by gunterkoenigsmann
Tue Aug 20, 2019 6:58 am
Forum: C++ Development
Topic: What happened to wxPipe?
Replies: 6
Views: 2326

Re: What happened to wxPipe?

RPC using XML is ab important data format. But it is transported over a socket/using curl/...
by gunterkoenigsmann
Fri Apr 26, 2019 6:07 am
Forum: Compiler / Linking / IDE Related
Topic: CMake cannot find wxwidgets 3.1
Replies: 13
Views: 14606

Re: CMake cannot find wxwidgets 3.1

Sometimes removing CMakeCache.txt resolves this kind of problem...
by gunterkoenigsmann
Mon Nov 21, 2016 8:12 am
Forum: C++ Development
Topic: wxGtk: Paper size selection in the print dialogue grayed out [SOLVED]
Replies: 7
Views: 1863

Re: wxGtk: Paper size selection in the print dialogue grayed out

Ok... ...wxWidgets 3.1.0 works on windows, too. Thanks a lot fr your help!
...will now try to find out how to mark this thread as [Solved].
by gunterkoenigsmann
Sun Nov 20, 2016 4:39 pm
Forum: C++ Development
Topic: wxGtk: Paper size selection in the print dialogue grayed out [SOLVED]
Replies: 7
Views: 1863

Re: wxGtk: Paper size selection in the print dialogue grayed out

Ok... ...on my linux box the current trunk of wxWidgets allows me to choose a page size => Problem solved here. Will check with wxMSW as soon as I can.
Thanks a lot!
and kind regards,

Gunter
by gunterkoenigsmann
Sun Nov 20, 2016 2:59 pm
Forum: C++ Development
Topic: wxGtk: Paper size selection in the print dialogue grayed out [SOLVED]
Replies: 7
Views: 1863

Re: wxGtk: Paper size selection in the print dialogue grayed out

On linux yes - but I will upgrade to the wxWidgets git master and test if it is fixed there. On windows I will test as soon as I can get my hands on a win machine with a working compiler.
by gunterkoenigsmann
Sun Nov 20, 2016 2:46 pm
Forum: C++ Development
Topic: wxGtk: Paper size selection in the print dialogue grayed out [SOLVED]
Replies: 7
Views: 1863

Re: wxGtk: Paper size selection in the print dialogue grayed out

Hey! Thanks a lot!

This is exactly the issue I encountered.

Seems like the same thing happens on wxMsw, too: https://github.com/andrejv/wxmaxima/issues/807

Don't know if that is fixed yet, though.
by gunterkoenigsmann
Sun Nov 20, 2016 2:02 pm
Forum: C++ Development
Topic: wxGtk: Paper size selection in the print dialogue grayed out [SOLVED]
Replies: 7
Views: 1863

wxGtk: Paper size selection in the print dialogue grayed out [SOLVED]

Dear all, in wxMaxima the following code pops up a printer dialog. Unfortunately in wxWidgets 3.1.0 the paper size selection is grayed out leaving the users with only A4 as a Choice. Is there any way to re-enable it? The application itself would be able to print on any arbitrary page size. Thanks a ...
by gunterkoenigsmann
Sat Aug 20, 2016 8:02 am
Forum: C++ Development
Topic: wxBitmap/wxImage: Setting resolution/dpi for saving
Replies: 1
Views: 1090

Re: wxBitmap/wxImage: Setting resolution/dpi for saving

For images there is a way to set the dpi/ppi rate: img.SetOption(wxIMAGE_OPTION_RESOLUTION,resolution * bitmapScale); For bitmaps there is the following command: m_bmp.CreateScaled(10,10,wxBITMAP_SCREEN_DEPTH,1.0/((double)scale)); If setting these options changes anything you'll have to test, though...
by gunterkoenigsmann
Sat Aug 20, 2016 3:16 am
Forum: C++ Development
Topic: Turn off subpixel rendering in wxMemoryDC?
Replies: 1
Views: 1071

Turn off subpixel rendering in wxMemoryDC?

Dear all, I like how wxWidgets does antialiassing and subpixel rendering (https://en.wikipedia.org/wiki/Subpixel_rendering) on the screen. But there are 2 drawbacks: If an application claims not to be high-dpi-aware subpixel rendering doesn't lead to an object ending in the middle of a RGB pixel, bu...
by gunterkoenigsmann
Sat Jun 25, 2016 6:42 am
Forum: C++ Development
Topic: Trying to catch the enter-key in a KEY_EVT from a wxListBox
Replies: 16
Views: 7152

Re: Trying to catch the enter-key in a KEY_EVT from a wxListBox

Using the current git head of wxWidgets on wxGTK wxListBox doesn't handle a press of the the enter key as keypress. Instead it seems to interpret it as a equivalent of a double-click - which kind of makes sense, actually. Will hand in a patch that documents this in the manual. One example of a progr...
by gunterkoenigsmann
Tue May 31, 2016 11:37 am
Forum: Announcements and Discoveries
Topic: wxFreeChart project need contributors
Replies: 36
Views: 37915

Re: wxFreeChart project need contributors

Is development on this package still ongoing? It actually works great and seems to be quite fast. If yes we would need one modification for wxWidgets 3.x: The minimum size of a wxChartPanel needs to be set to >1 pixel. Or more precisely: Older versions of wxWidgets would allow to create empty bitmap...