Search found 54 matches

by Big Muscle
Mon Jan 21, 2019 12:05 pm
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 8
Views: 165

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: 8
Views: 165

Re: GTK: wxButton appearance in wxScrolled

Sure. They are:

Good:

good.jpg
good.jpg (47.93 KiB) Viewed 119 times


Bad:

bad.jpg
bad.jpg (51.79 KiB) Viewed 119 times
by Big Muscle
Mon Jan 14, 2019 7:34 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 8
Views: 165

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: 8
Views: 165

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: 285

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: 3198

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 EXCEPT...
by Big Muscle
Tue Aug 16, 2011 8:42 pm
Forum: C++ Development
Topic: Fatal exception handling
Replies: 16
Views: 3198

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: 3198

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: 3198

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: 3198

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: 612

As I understand correctly, wxIcon::wxIcon ( const char *const * bits ) accepts XPM data only.
by Big Muscle
Sun Mar 06, 2011 10:50 am
Forum: C++ Development
Topic: Load wxIcon from stream
Replies: 4
Views: 612

Load wxIcon from stream

I would like to know whether it is possible to load wxIcon from input stream. I have a ZIP file which contains images - PNGs and ICOs. They are used as images for wx controls (PNGs toolbar, menu etc. images, ICOs for taskbar and frame icons). Following code works correctly for PNGs: std::auto_ptr<wx...
by Big Muscle
Thu Feb 17, 2011 9:02 pm
Forum: C++ Development
Topic: balloon on a systray icon? [SOLVED]
Replies: 3
Views: 1243

I use this: wxNotificationMessage notify(title, text); notify.SetFlags(icon); #ifdef __WXMSW__ // ensure that current taskbar icon is used // FIXME: notify.UseTaskBarIcon(mainWindow->getTaskBarIcon()); #endif notify.Show(); but this add new icon for each ballo...
by Big Muscle
Sun Feb 13, 2011 10:50 am
Forum: C++ Development
Topic: wxAUI toolbar use all width
Replies: 15
Views: 1757

This is what I tried when having two toolbars: int searchBarWidth = searchBar->GetSize().GetWidth(); int searchBarHeight = searchBar->GetSize().GetHeight(); toolBar->SetSize(GetClientSize().GetWidth() - searchBarWidth, searchBarHeight);
by Big Muscle
Tue Jan 04, 2011 10:57 pm
Forum: C++ Development
Topic: Directory tree with checkboxes [SOLVED]
Replies: 32
Views: 6525

so I finally managed to finish reimplementing in wxWidgets: http://img214.imageshack.us/img214/8546/wxsharepage.png Just have a few questions: - is it somehow possible to get system's folder icon? I currently use hardcoded images but it would be nice that each platform display its own image. - and e...

Go to advanced search