Search found 867 matches

by eranon
Wed May 02, 2018 8:57 pm
Forum: Compiler / Linking / IDE Related
Topic: First Program In Wxwidget
Replies: 13
Views: 2734

Re: First Program In Wxwidget

Then, What's My Next Step? Thanks. If the minimal example has been correctly linked with the static flavor of wxWidgets, it means the libs were well there and linkable... So, job done! You have nothing more to do to validate your wxWidgets building. If you need to be reassured a step more, you can ...
by eranon
Tue May 01, 2018 10:53 pm
Forum: Compiler / Linking / IDE Related
Topic: Version Compatibility
Replies: 5
Views: 806

Re: Version Compatibility

Chikwado wrote:Oh I Am Sorry, The Version Is 4.9.2 Packaged With Codeblock Version 16.01.
I'm using Code::Blocks (SVN HEAD) and wxWidgets 3.1.0 built against TDM64-GCC 4.7.1 under Windows 7 64-bit. My TDM-GCC is a standalone install and not the one shipped with C::B.
by eranon
Tue May 01, 2018 10:48 pm
Forum: Compiler / Linking / IDE Related
Topic: First Program In Wxwidget
Replies: 13
Views: 2734

Re: First Program In Wxwidget

PB wrote:OTOH, who knows whether current wxWidgets version works with a relatively old toolchain, which is not officially supported. But even wxWidgets 3 are built with MinGW with GCC 5.3...
Hello, PB. I'm using wxWidgets 3.1.0 built against TDM64-GCC 4.7.1 under Windows 7 64-bit.
by eranon
Sun Apr 29, 2018 6:48 pm
Forum: General Forum Issues
Topic: Add sort by OP post time option
Replies: 2
Views: 1052

Re: Add sort by OP post time option

Hello, When someone replies to an old thread, it's often because the topic is back in the news or something... However, your demand sounds a bit weird for me : it's like if I asked to Google to place the most relevant link on top, rather than the one with the most advanced SEO effort (ie. time or mo...
by eranon
Sat Apr 28, 2018 12:02 pm
Forum: Platform Related Issues
Topic: Retina Support for Mac
Replies: 6
Views: 778

Re: Retina Support for Mac

Hello, Sorry for the delay, a little busy these days. I guess you can manage Info.plist and app bundle in Xcode, but I can't tell you how... I don't use Xcode on my part (I'm using Code::Blocks in both Windows and OS X). So, I edit Info.plist myself and I create the app bundle on post-build stage th...
by eranon
Thu Apr 26, 2018 9:42 am
Forum: Platform Related Issues
Topic: Retina Support for Mac
Replies: 6
Views: 778

Re: Retina Support for Mac

Hello, Do you have the magic declaration "<key>NSPrincipalClass</key><string>NSApplication</string>" in your Info.plist? Here is the way I load mine in one of my apps running under both Windows and Mac below (shopifight_icon being an embedded array built through wxInclude from a PNG file). Also, not...
by eranon
Sat Apr 21, 2018 6:24 am
Forum: C++ Development
Topic: Spaces in Datafile Keys?
Replies: 1
Views: 233

Re: Spaces in Datafile Keys?

Hello, The INI file format is an informal one. So, it depends on the specific implementation. Most of the implementations don't allow space in key name. Some implementations allow space around the equal sign to separate the key and its value, and some others not. The only place where space are alway...
by eranon
Wed Apr 18, 2018 11:12 am
Forum: Platform Related Issues
Topic: re:EVT_KILL_FOCUS problem
Replies: 2
Views: 2174

Re: re:EVT_KILL_FOCUS problem

Hello, Not sure handling set/kill focus at frame level is the right thing to do... Hmmm, I guess you have a top panel directly inside your mini frame. What if you handle the EVT_KILL_FOCUS for this panel? Or, maybe, another way would be to handle EVT_ACTIVATE (fired when a window is activated and de...
by eranon
Mon Apr 16, 2018 9:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Latest Version of setup.h?
Replies: 12
Views: 2226

Re: Latest Version of setup.h?

Hello, Don't know if it's always the case, but I see this kind of error when using CodeLIte here: https://forums.codelite.org/viewtopic.php?f=20&t=3186. It's a thread from 2015, but it talks about fixed naming convention for wxWidgets-libs path (eg. gcc481TDM_dll instead of just gcc_dll); and a way ...
by eranon
Sun Apr 15, 2018 5:53 pm
Forum: wxCode
Topic: wxPdfDocument - find possition for free space at the bottom
Replies: 5
Views: 766

Re: wxPdfDocument - find possition for free space at the bottom

Seems a bit devious for me, with respect to wxWidgets and persons really involved in it. You should rename your first website as mfc.ru to be consistent. And maybe I should name my own wxwidgets.fr; but I have several sites for different apps: how to avoid collisions? It is a problem! Maybe I could ...
by eranon
Sun Apr 15, 2018 11:06 am
Forum: wxCode
Topic: wxPdfDocument - find possition for free space at the bottom
Replies: 5
Views: 766

Re: wxPdfDocument - find possition for free space at the bottom

regards, Alexander Saprykin www.wxwidgets.ru Sorry for the off-topic, but, out of curiosity, why did you call your site wxwidgets.ru and not dental-soft.ru as it talks about a software called Dental-Soft ("a computer program for medical clinics for managing medical patients" if I believe Google Tra...
by eranon
Tue Apr 10, 2018 3:51 pm
Forum: C++ Development
Topic: wxTextCtrl auto resize
Replies: 8
Views: 821

Re: wxTextCtrl auto resize

The sample from that thread is MS specific, you can check, for example, wxGTK code and it's completely different: https://github.com/wxWidgets/wxWidgets/blob/master/src/gtk/stattext.cpp#L226. Also please note that not every wxWidgets binding in every language has the ability to redefine methods (I'...
by eranon
Tue Apr 10, 2018 7:08 am
Forum: C++ Development
Topic: wxTextCtrl auto resize
Replies: 8
Views: 821

Re: wxTextCtrl auto resize

Hello, About static text control, you have wxStaticText::Wrap() to adjust the height from a fixed width, but you still have to provide a mechanism to manage text selection. About the solution provided about wxTextCtrl in the thread you pointed, why do you say it's extremely patform dependent? Read d...
by eranon
Mon Apr 09, 2018 10:24 am
Forum: General Development
Topic: Stable version of wxpython.
Replies: 1
Views: 2402

Re: Stable version of wxpython.

Hello, All about wxPython: https://wxpython.org/pages/downloads/ and there're also a lot of infos through search like http://google.com/search?q=wxpython+ubuntu+16.04
by eranon
Sun Apr 08, 2018 3:09 pm
Forum: C++ Development
Topic: void wxWindow::SetToolTip ( wxToolTip * tip )
Replies: 6
Views: 492

Re: void wxWindow::SetToolTip ( wxToolTip * tip )

What do you mean by "alloc"? If you need an allocation that persists beyond the scope of your current frame, you have to allocate on heap and "new" is the way to go. Malloc, calloc, realloc are all C, not C++.