Search found 32 matches

by 2607
Mon Oct 01, 2012 2:54 pm
Forum: C++ Development
Topic: How to build a Chinese GUI with wxWidgets?
Replies: 2
Views: 1460

How to build a Chinese GUI with wxWidgets?

Hi, I am wondering how can I build a Simplified Chinese GUI with wxWidgets? Can anyone point a direction that I can look into.

Thanks.
by 2607
Sun Sep 30, 2012 11:00 pm
Forum: Compiler / Linking / IDE Related
Topic: How to setup wxWidgets under Windows + Eclipse + Cygwin+ GCC
Replies: 2
Views: 2431

How to setup wxWidgets under Windows + Eclipse + Cygwin+ GCC

Hi,

I am trying to use wxWidgets under Windows 7, Eclipse CDT and Cygwin GCC. Can anyone offer some advice on how to install and compile wxWidgets under that environment?

Thanks.
by 2607
Wed May 02, 2012 5:06 pm
Forum: C++ Development
Topic: wxWidgets, how to add scroll bar into wxFrame
Replies: 2
Views: 4274

wxWidgets, how to add scroll bar into wxFrame

Hi, My application first reads a initialization file and then decides how many control objects, e.g., wxTextCtrl, wxToggleButton, need to be added to a wxFrame. When there are too many objects on the wxFrame, some objects are out of visible boundary, i.e., they are on the wxFrame, but user can not s...
by 2607
Sun Apr 15, 2012 6:19 pm
Forum: Platform Related Issues
Topic: wxFileDialog problem under Linux GNORME
Replies: 2
Views: 1087

wxFileDialog problem under Linux GNORME

Hi, I have a problem with wxFileDialog under Linux, char path[255]; getcwd(path, 255); wxFileDialog dialog(NULL, _T("Open a configuration file"), path, wxEmptyString, _T("*.csv"), wxFD_OPEN); dialog.ShowModal(); I am able to start the application, but the console returns an error...
by 2607
Sat Feb 25, 2012 10:53 pm
Forum: C++ Development
Topic: wxFileDialog open in MyApp::OnInit() error
Replies: 2
Views: 1198

Re: wxFileDialog open in MyApp::OnInit() error

doublemax wrote:"this" is not a wxWindow*, try passing NULL as parent.
Thank you, doublemax. It works now.
by 2607
Sat Feb 25, 2012 6:15 pm
Forum: C++ Development
Topic: wxFileDialog open in MyApp::OnInit() error
Replies: 2
Views: 1198

wxFileDialog open in MyApp::OnInit() error

Hi, I am trying to open a wxFileDialog in MyApp::OnInit(), but I end up with an error message saying "no matching function for call to ‘wxFileDialog::wxFileDialog(MyApp* const, const char [12], const wxChar*&, const wxChar*&, const char [6], <anonymous enum>)" . MyApp::OnInit() { w...
by 2607
Wed Feb 22, 2012 8:28 pm
Forum: C++ Development
Topic: wxTextCtrl set font size example
Replies: 1
Views: 3126

wxTextCtrl set font size example

Hi,

I am wondering how to change the font size of wxTextCtrl objects. Can someone offer an example for that. I just migrated from Windows to Linux, I found the wxTextCtrl font size is a lot bigger in Linux than that in Windows. I just default value in Windows.

Thanks.
by 2607
Sun Feb 19, 2012 1:45 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets + Eclipse in Linux
Replies: 0
Views: 1860

wxWidgets + Eclipse in Linux

I am using wxWidgets + Eclipse in Linux, after I compile the program, there are many "semantic error", but I can still run the program. And the auto-completion doesn't work for wxWidgets objects. I am just wondering, How do I get rid of those "semantic error"? What header files d...
by 2607
Sun Feb 19, 2012 1:39 am
Forum: C++ Development
Topic: Win32 console
Replies: 5
Views: 2364

Re: Win32 console

Jessy,

Thank you for your reply.

I am using wxWidgets with Eclipse in Linux, where I can print out logs to the terminal.

It's nice to have something similar in Windows.

:D
by 2607
Sat Feb 18, 2012 5:45 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets Fedora Eclipse
Replies: 1
Views: 1362

wxWidgets Fedora Eclipse

Hi, I am pretty new to wxWidgets, is there a tutorial on how to install wxWidgets on Fedora, and configuration in Eclipse?

Thanks.
by 2607
Fri Feb 17, 2012 8:55 pm
Forum: Platform Related Issues
Topic: Install wxWidgets on Linux Fedora
Replies: 5
Views: 17097

Re: Install wxWidgets on Linux Fedora

If you installed the fedora package, it'll be in /usr/. If you built from a tarball and didn't use the --prefix=<somewhere> configure option, it'll be in /usr/local; if you did, it'll be in <somewhere>. Thanks, David, I managed to create and run a simple wxWidgets program on Linux (Fedora + Eclipse...
by 2607
Fri Feb 17, 2012 7:05 pm
Forum: Platform Related Issues
Topic: Install wxWidgets on Linux Fedora
Replies: 5
Views: 17097

Re: Install wxWidgets on Linux Fedora

Hi, (I moved the topic to a more appropriate forum...) The easy way is: yum install wxGTK-devel Otherwise, download the wxGTK tarball of your choice and follow the instructions in docs/gtk/install.txt. It's not difficult :) . Regards, David Thank you David, the installation is just as easy as you s...
by 2607
Fri Feb 17, 2012 4:45 pm
Forum: Platform Related Issues
Topic: Install wxWidgets on Linux Fedora
Replies: 5
Views: 17097

Install wxWidgets on Linux Fedora

Hi,

Is there a good tutorial on how to install wxWidgets on Linux Fedora.

Thanks.
by 2607
Thu Feb 16, 2012 1:59 am
Forum: C++ Development
Topic: wxApp::OnInit(), Boost::thread, .join()
Replies: 4
Views: 2797

Re: wxApp::OnInit(), Boost::thread, .join()

Hi, doublemax,

I have tried your method, but I think that if I create it on the heap, it gets destroyed before it reaches OnExit(). Therefore, if I try to delete it again, it cause an error.

Thanks.
by 2607
Wed Feb 15, 2012 6:27 pm
Forum: C++ Development
Topic: wxApp::OnInit(), Boost::thread, .join()
Replies: 4
Views: 2797

wxApp::OnInit(), Boost::thread, .join()

Hi, if I create a new object with a thread encapsulate inside, when and how shall I terminate the thread? For example, class ABC has a thread encapsulate inside, once an object of ABC is created, a thread will be created as well. class ABC { public: ABC() { ... start m_thread here ... } ~ABC() { ......