Search found 58 matches

by Big Muscle
Thu Feb 28, 2019 12:25 pm
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

Re: GTK: wxButton appearance in wxScrolled

I will not create new topic about it, but I noticed this problem does not apply to buttons only. There is some more global theming problem with wxScrolled. For example, applying wxBORDER_* flag on wxScrolled<wxPanel> results in obsolete border appearance which does not correspond to used theme. Norm...
by Big Muscle
Wed Feb 20, 2019 11:32 am
Forum: Platform Related Issues
Topic: wxStaticText color/transparent background
Replies: 0
Views: 45

wxStaticText color/transparent background

Hello, is there any way how to create control which draws the text with background color, supports transparency and works on different platforms (or at least MSW and GTK+2) ? If I use wxStaticText: wxGTK - background is transparent, SetBackgroundColour is not respected wxMSW - SetBackgroundColour is...
by Big Muscle
Tue Jan 29, 2019 7:52 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

Re: GTK: wxButton appearance in wxScrolled

After some experiments, I noticed that GTK+3 has some problem with sizers. Application started directly on X-server startup works correctly, application started manually later does not display controls put in sizers. So I made some modification to remove sizers and I can confirm that "wxButton appea...
by Big Muscle
Mon Jan 28, 2019 10:59 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

Re: GTK: wxButton appearance in wxScrolled

It took almost 2 hours to rebuild on Raspberry but now it is done. The application starts and no controls are visible at all, so hard to answer the question :-/
by Big Muscle
Mon Jan 21, 2019 12:05 pm
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

Re: GTK: wxButton appearance in wxScrolled

I'm not sure about GTK+3. I have no experience with it.
Is it possible to use it just by rebuilding my app only, or does it require complete wxWidgets rebuild / additional system packages?
by Big Muscle
Mon Jan 14, 2019 8:38 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

Re: GTK: wxButton appearance in wxScrolled

Sure. They are:

Good:
good.jpg
good.jpg (47.93 KiB) Viewed 334 times
Bad:
bad.jpg
bad.jpg (51.79 KiB) Viewed 334 times
by Big Muscle
Mon Jan 14, 2019 7:34 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

Re: GTK: wxButton appearance in wxScrolled

Hello,
it is the real Raspberry with Raspbian 9.6 installed.
If it is the theme specific why would it influence only buttons on wxScrolledWindow and not the other buttons?
by Big Muscle
Fri Jan 11, 2019 9:43 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 13
Views: 380

GTK: wxButton appearance in wxScrolled

Hello, I develop an C++ application for Raspberry PI using wxWidgets (GTK2). When I create a button in wxPanel, it looks correctly. But if I change wxPanel to wxScrolledWindow (or wxScrolled<wxPanel>), the buttons appearance changes it - thick white border appears around it. Even if I change the but...
by Big Muscle
Tue Sep 06, 2011 10:28 am
Forum: C++ Development
Topic: wxTreeListCtrl [SVN]
Replies: 1
Views: 298

wxTreeListCtrl [SVN]

Hello, I don't know whether this is appropriate place to send this request but I will try :) Current SVN revision contains new class wxTreeListCtrl which I see to be a very good idea. It is a facade for wxDataViewCtrl so it stores a lot of time spent by writing own data view model. However, I miss s...
by Big Muscle
Wed Aug 17, 2011 7:36 pm
Forum: C++ Development
Topic: Fatal exception handling
Replies: 16
Views: 3241

Re: Fatal exception handling

I already thought about wxLaunchDefaultApplication("crashlog.txt") which would display the generated crashlog in system's default viewer. Windows MessageBox function would work in the handler but since I use my own handler (via SetUnhandledExceptionFilter function) I can just return EXCEPTION_CONTIN...
by Big Muscle
Tue Aug 16, 2011 8:42 pm
Forum: C++ Development
Topic: Fatal exception handling
Replies: 16
Views: 3241

Re: Fatal exception handling

Of course, critical section can be released (although I'm not sure whether it happens in case of SetUnhandledExceptionFilter), but the critical section is there for some reason -> main thread is not blocked and continues its execution, but since the critical section in other thread was not processed...
by Big Muscle
Tue Aug 16, 2011 8:14 pm
Forum: C++ Development
Topic: Fatal exception handling
Replies: 16
Views: 3241

Re: Fatal exception handling

evstevemd wrote:
Big Muscle wrote:I know how to communicate with main thread, but I don't think it's good idea to do it from fatal exception handler.
I'm interested to know why it is not a good Idea!
You can imagine, for example, such situation when worker thread crashes in critical section which main thread is waiting for.
by Big Muscle
Tue Aug 16, 2011 4:30 pm
Forum: C++ Development
Topic: Fatal exception handling
Replies: 16
Views: 3241

Re: Fatal exception handling

I know how to communicate with main thread, but I don't think it's good idea to do it from fatal exception handler.
by Big Muscle
Mon Aug 15, 2011 9:16 pm
Forum: C++ Development
Topic: Fatal exception handling
Replies: 16
Views: 3241

Re: Fatal exception handling

My original topic is one year old but I use it again now... I solved the problem with using SetUnhandledExceptionFilter under MSW and wxHandleFatalException(true) under other OS's (it handles exceptions in worker threads on Ubuntu correctly). But now I have problem when I want to display error messa...
by Big Muscle
Sun Mar 06, 2011 9:47 pm
Forum: C++ Development
Topic: Load wxIcon from stream
Replies: 4
Views: 626

As I understand correctly, wxIcon::wxIcon ( const char *const * bits ) accepts XPM data only.