Search found 2263 matches

by evstevemd
Sun Nov 10, 2019 7:19 pm
Forum: General Development
Topic: Is there any chance that wxWidgets will use its own renderer to draw its own controls like Qt in the future!?
Replies: 6
Views: 299

Re: Is there any chance that wxWidgets will use its own renderer to draw its own controls like Qt in the future!?

tomay3000 wrote:
Sat Nov 09, 2019 5:52 pm
evstevemd wrote:
Sat Nov 09, 2019 7:30 am
Latest trunk have wxQT port that have been under quiet development. Did you check it?
That doesn't mean it is wx own drawing (it is only a third party).
Your question ends with Like QT..
by evstevemd
Sat Nov 09, 2019 7:29 am
Forum: General Development
Topic: Has anyone successfully built an CEF application with wxGTK?
Replies: 3
Views: 174

Re: Has anyone successfully built an CEF application with wxGTK?

Did you try to build webviewsample_chromium to get the feel and see how to use it?
by evstevemd
Sun Sep 29, 2019 3:42 pm
Forum: C++ Development
Topic: Background thread for listening to database
Replies: 4
Views: 142

Re: Background thread for listening to database

I suggest you go for wxThread. It works just fine. For your requirement you can use Joinable wxThread.
But std::thread, boost.thread or POCO thread will work just fine in case you already have experience with one of them. But if you are starting with MT, I suggest you go for wxThread
by evstevemd
Sun Sep 22, 2019 5:36 pm
Forum: C++ Development
Topic: wxHyperlink inside a wxDataViewCtrl
Replies: 5
Views: 81

Re: wxHyperlink inside a wxDataViewCtrl

pbneves wrote:
Sun Sep 22, 2019 5:31 pm
Thank you evstevemd,

I've been struggling with that :)
Can you point a good resource/example for learning how to use the wxDataViewCustomRenderer class?
Thanks,
Here we go: https://docs.wxwidgets.org/3.0/classwx_ ... derer.html
by evstevemd
Sun Sep 22, 2019 4:56 pm
Forum: C++ Development
Topic: wxHyperlink inside a wxDataViewCtrl
Replies: 5
Views: 81

Re: wxHyperlink inside a wxDataViewCtrl

A number of standard renderers for rendering text, dates, images, toggle, a progress bar etc. are provided. Additionally, the user can write custom renderers deriving from wxDataViewCustomRenderer for displaying anything. https://docs.wxwidgets.org/3.0/classwx_data_view_ctrl.html See also: https://...
by evstevemd
Sun Sep 22, 2019 9:11 am
Forum: C++ Development
Topic: Adding <style> highlighting in wxSTC HTML Lexer
Replies: 0
Views: 111

Adding <style> highlighting in wxSTC HTML Lexer

So am writing my editor and want to support inline CSS (that is <style></style> tag). Googling out there I found the HTML Lexer does not support that out of the box. Now I'm looking for a way to do custom highlight when <style> is found but am yet to find anything useful. I found this Wiki article b...
by evstevemd
Fri Sep 20, 2019 3:32 pm
Forum: C++ Development
Topic: Change wxDataViewVirtualListModel size
Replies: 3
Views: 76

Re: Change wxDataViewVirtualListModel size

Did you try calling Reset when the data have changed with current size?
https://docs.wxwidgets.org/trunk/classw ... 8fc3ef0d86

Note that if you just appended or deleted data use the corresponding methods. If you changed a lot then use reset!
by evstevemd
Thu Sep 19, 2019 2:24 pm
Forum: C++ Development
Topic: wxAuiNotebook + wxPropertyGrid - columns not arranged
Replies: 15
Views: 639

Re: wxAuiNotebook + wxPropertyGrid - columns not arranged

Screen Shot 2019-09-19 at 5.20.20 PM.png
Screen Shot 2019-09-19 at 5.20.20 PM.png (38.58 KiB) Viewed 68 times
by evstevemd
Thu Sep 19, 2019 2:24 pm
Forum: C++ Development
Topic: wxAuiNotebook + wxPropertyGrid - columns not arranged
Replies: 15
Views: 639

Re: wxAuiNotebook + wxPropertyGrid - columns not arranged

Just for Completeness here is the PB Code in Mac with master branch (not the latest of course)
Screen Shot 2019-09-19 at 5.20.06 PM.png
Screen Shot 2019-09-19 at 5.20.06 PM.png (38.46 KiB) Viewed 193 times
Screen Shot 2019-09-19 at 5.19.25 PM.png
Screen Shot 2019-09-19 at 5.19.25 PM.png (44.44 KiB) Viewed 193 times
Screen Shot 2019-09-19 at 5.19.41 PM.png
Screen Shot 2019-09-19 at 5.19.41 PM.png (47.09 KiB) Viewed 193 times
by evstevemd
Tue Sep 17, 2019 11:40 am
Forum: C++ Development
Topic: wxAuiNotebook + wxPropertyGrid - columns not arranged
Replies: 15
Views: 639

Re: wxAuiNotebook + wxPropertyGrid - columns not arranged

what happens when you add wxPG into wxPanel and then add panel to wxAuiNB?
by evstevemd
Mon Sep 16, 2019 1:22 pm
Forum: Platform Related Issues
Topic: os x building apps for older versions
Replies: 1
Views: 144

Re: os x building apps for older versions

I think Mavericks is the default version supported by default on wxWidgets build (Am using CMake, so not sure bout other builds). So -with-mac-osx-min-version=10.9 should be OK.

About building for 10.15, it won't be possible I guess. Why not have two wxWidgets and then build two version of same app?
by evstevemd
Mon Sep 16, 2019 1:16 pm
Forum: C++ Development
Topic: button right align by AddStretchSpacer not work
Replies: 6
Views: 209

Re: button right align by AddStretchSpacer not work

As @manolo already pointed out, you have not specified ratio so it is taking the button size. Add ratio to define button distribution and EXPAND flag to make them expand and fill the available space.
by evstevemd
Mon Sep 16, 2019 9:29 am
Forum: C++ Development
Topic: wxExecute and wxProcess: Dealing with Interactive commands
Replies: 9
Views: 312

Re: wxExecute and wxProcess: Dealing with Interactive commands

i'm interacting with GDB in very easy way: void command(const wxString & fs){ wxTextOutputStream ls(*_process->GetOutputStream()); ls<<fs<<"\n"; } and it works. it sends string <fs>(various GDB commands) to GDB session and everything is ok. ps. may be you forgot to add '\n' in your code? You got it...