Search found 3159 matches

by ONEEYEMAN
Sat Apr 20, 2019 2:28 am
Forum: Platform Related Issues
Topic: Crash on FreeBSD
Replies: 8
Views: 75

Re: Crash on FreeBSD

Hi, The standard way of building on *nix is by using dynamic linking. When you do static linking you essentially push wxWidgets, GTK+, GDK, Cairo, Pango and all other GTK+ dependencies to the binary. This might be conflicting with the one that is installed by default on the system. To answer you sec...
by ONEEYEMAN
Fri Apr 19, 2019 2:38 pm
Forum: Platform Related Issues
Topic: Crash on FreeBSD
Replies: 8
Views: 75

Re: Crash on FreeBSD

Hi, We don't know if it was fixed or not. That's why doublemax asked YOU TO TRY it. On the kind of unrelated note: 1. --enable-unicode is the default option since 3.0 and you don't need it to be explicitly set. 2. --disable-shared is weird choice. Could you try to build without it? It is possible th...
by ONEEYEMAN
Thu Apr 18, 2019 9:18 pm
Forum: C++ Development
Topic: Create Frame from thread - C++
Replies: 6
Views: 93

Re: Create Frame from thread - C++

Hi,
You can try to look into the "dll" sample.
But my understanding is that it demonstrates how to run a secondary event loop from inside a DLL.
Which means that by the time the DLL is loaded wxWidgets is already initialized....

Thank you.
by ONEEYEMAN
Thu Apr 18, 2019 9:12 pm
Forum: C++ Development
Topic: Create Frame from thread - C++
Replies: 6
Views: 93

Re: Create Frame from thread - C++

Hi, Yout should never access any GUI controls from a secondary thread. It is not supported and it is dangerous. What you could try to do is send an event from you thread to the DLL and create a frame from inside the DLL context. Now keep in mind that DLLMain is a Windows-only function and so you sho...
by ONEEYEMAN
Tue Apr 16, 2019 7:51 pm
Forum: Compiler / Linking / IDE Related
Topic: Can't compile wxWidgets 2.8 --with-opengl in ubuntu amd64 (Solved)
Replies: 10
Views: 153

Re: Can't compile wxWidgets 2.8 --with-opengl in ubuntu amd64 (Solved)

Hi, Could you please grab the latest 3.1.1 version of the library and retry. Post an exact error if you get any. Also, saying "still gen the error" is not enough. What is an exact error you received? Also, are you trying to cross-compile wxWidgets to some other architecture (not PC)? ARM maybe? And ...
by ONEEYEMAN
Tue Apr 16, 2019 3:49 pm
Forum: C++ Development
Topic: Append HTML to wxHtmlWindow without reloading
Replies: 6
Views: 102

Re: Append HTML to wxHtmlWindow without reloading

Hi, Well, its an open source project. You can do whatever. And if you think it will be beneficial - send an e-mail to wx-dev to ask if this will be a good contribution to the library. Keep in mind though that wxHtmlWindow supports very limited set of HTML4 tags and the best way of doing what you wan...
by ONEEYEMAN
Sat Apr 13, 2019 11:43 pm
Forum: C++ Development
Topic: wxButton simulate click
Replies: 5
Views: 91

Re: wxButton simulate click

Hi, In short - don't do this. Ever!!! Unless you plan to work on wxWIdgets in the future. In long explanation - there is only 0.000001 % of use cases where you need to generate the event yourself and send it for processing in the user code. One of those cases is to write the testing framework for yo...
by ONEEYEMAN
Fri Apr 12, 2019 10:02 pm
Forum: C++ Development
Topic: Vertical wxRibbonBar
Replies: 1
Views: 44

Re: Vertical wxRibbonBar

Hi,
I believe this is not supported. (Ref. https://social.msdn.microsoft.com/Forum ... ?forum=wpf).

Thank you.
by ONEEYEMAN
Fri Apr 12, 2019 2:31 pm
Forum: C++ Development
Topic: How to know the size of row label or col label?
Replies: 9
Views: 93

Re: How to know the size of row label or col label?

Hi,
shawnee wrote:
Fri Apr 12, 2019 2:25 pm
Another question, no way to drag move row label?
Correct.
What is the purpose?

Thank you.
by ONEEYEMAN
Fri Apr 12, 2019 2:30 pm
Forum: C++ Development
Topic: How to know the size of row label or col label?
Replies: 9
Views: 93

Re: How to know the size of row label or col label?

Hi, If I want to know coordinates of one of row/col label, is there this kind of member function? CellToRect can get position in logical coordinates of cell. I don't think so. What for do you need this information? It's for a very special purpose. I want to know the position of row/col label, then s...
by ONEEYEMAN
Thu Apr 11, 2019 2:12 pm
Forum: C++ Development
Topic: closing wxProgressDialog with a wxThread
Replies: 16
Views: 204

Re: closing wxProgressDialog with a wxThread

Hi,
What's wx version?
What OS?
Does dialog sample works for you? It doesn't use threads but you can see what mechanism is used...

Thank you.
by ONEEYEMAN
Wed Apr 10, 2019 3:08 pm
Forum: C++ Development
Topic: wxUpdateUiEvent, tool text, and help strings
Replies: 8
Views: 99

Re: wxUpdateUiEvent, tool text, and help strings

Hi, Because wxUpdateUIEvent is not designed for that. Update UI event is designed just for that - so that controls can be either enabled or disabled. If you want to change the long/short text for the toolbar tools just call the appropriate function when you want it. But that would be very weird desi...
by ONEEYEMAN
Wed Apr 10, 2019 2:32 pm
Forum: C++ Development
Topic: wxUpdateUiEvent, tool text, and help strings
Replies: 8
Views: 99

Re: wxUpdateUiEvent, tool text, and help strings

Hi, If you call this (pseudo-code): wxToolBarTool *tool = toolbar->GetTool( wxID_UNDO ); tool->Enable( true ); but there is nothing to undo, i.e. no operation was performed on the object i the frame, then undo/redo operations becomes out of sync, and it will create a confusion for user. The same is ...
by ONEEYEMAN
Wed Apr 10, 2019 12:51 pm
Forum: C++ Development
Topic: wxUpdateUiEvent, tool text, and help strings
Replies: 8
Views: 99

Re: wxUpdateUiEvent, tool text, and help strings

Hi,
I understand all of that.
But why do you want to control Undo/Redo functionality? Are you sure you won't break it and they will always be in sync? Or even worse Undo available without nothing to Undo?

There is a reason for Undo/Redo is controlled internally...

Thank you.
by ONEEYEMAN
Wed Apr 10, 2019 1:19 am
Forum: C++ Development
Topic: How to implement something like this?
Replies: 11
Views: 249

Re: How to implement something like this?

doublemax, Please the attachment. On the left is the running scroll sample, on the right is your code. In the sample the scroll starts at the top, you code - scroll starts below the column labels. I can probably live with the design from your code, but, as I explained, that the design I'm after. Tha...