Search found 26 matches
- Wed Jun 25, 2008 9:38 pm
- Forum: Platform Related Issues
- Topic: Visual Studio and distribution
- Replies: 1
- Views: 618
Ok! So I found out that if I put this folder, Microsoft.VC80.CRT , including there files, Microsoft.VC80.CRT.manifest msvcm80.dll msvcp80.dll msvcr80.dll in my release folder a user without Visual Studio 2005 can run my application! That's great! EDIT: I found all of these files here: C:\Program Fil...
- Wed Jun 25, 2008 7:27 pm
- Forum: Platform Related Issues
- Topic: Visual Studio and distribution
- Replies: 1
- Views: 618
Visual Studio and distribution
Hi! I'm in Visual Studio 2005 and I wanna send my win32-application to other people that doesn't have Visual Studio installed. I realize that I can just send the Visual Studio Redistributable Package (vcredist_x86.exe) along with my program but isn't there any way to include all the necessary files ...
- Tue Jun 24, 2008 9:21 pm
- Forum: C++ Development
- Topic: Problem with sizers! [updated code] [solved]
- Replies: 6
- Views: 1430
- Tue Jun 24, 2008 3:53 pm
- Forum: C++ Development
- Topic: Problem with sizers! [updated code] [solved]
- Replies: 6
- Views: 1430
- Tue Jun 24, 2008 6:35 am
- Forum: C++ Development
- Topic: Problem with sizers! [updated code] [solved]
- Replies: 6
- Views: 1430
- Mon Jun 23, 2008 9:19 pm
- Forum: C++ Development
- Topic: Problem with sizers! [updated code] [solved]
- Replies: 6
- Views: 1430
Problem with sizers! [updated code] [solved]
Hi! First off, what I want to achieve: I want the static text to be centered horizontally. Right now (see pic) the left border of the static text is centered and it doesn't look good. http://pici.se/pictures/ELRdGmhqx.png I would also want to center the static text vertically but that wouldn't work ...
- Mon Jun 23, 2008 5:51 pm
- Forum: Platform Related Issues
- Topic: Building WxWidgets in Ubuntu
- Replies: 5
- Views: 1465
- Sun Jun 22, 2008 9:38 pm
- Forum: Platform Related Issues
- Topic: Building WxWidgets in Ubuntu
- Replies: 5
- Views: 1465
First off, are you sure you want to recompile wxWidgets ? Ubuntu has the packages you need to develop wxWidgets in the synapic repository, which also makes it easier to distribute your binaries. The whole idea of packages is that if wxWidgets gets updated by the devs your application automatically ...
- Sun Jun 22, 2008 5:00 pm
- Forum: Platform Related Issues
- Topic: Building WxWidgets in Ubuntu
- Replies: 5
- Views: 1465
Building WxWidgets in Ubuntu
Hi! I'm quite new to WxWidgets and also to Linux but I'm trying to set up wxWidgets on my laptop with Ubuntu Hardy Heron. So I'm reading this tutorial: http://wiki.wxwidgets.org/Compiling_and_getting_started But I got stuck here: You will also need gtk+ (don't forget to install the -dev package if y...
- Thu Jun 19, 2008 2:42 pm
- Forum: C++ Development
- Topic: A wierd problem! SetForegroundColour etc.
- Replies: 4
- Views: 1256
But just out of curiosity. When i put the line panel->SetForegroundColour(*wxRED); in the constructor it works just as I want (the color change of the static text). read my first line. The wxStaticText will inherit the wxPanel's foreground color when you create it. Ah, sorry! Thank you for making i...
- Thu Jun 19, 2008 2:12 pm
- Forum: C++ Development
- Topic: A wierd problem! SetForegroundColour etc.
- Replies: 4
- Views: 1256
a wxPanel doesn't really have a foreground color, it just happens that the wxStaticText will inherit that color, if you add it to the panel after setting the color. If you want to change the color of the wxStaticText, you should use st->SetForegroundColour() . Eventually you may need a st->Refresh(...
- Thu Jun 19, 2008 1:44 pm
- Forum: C++ Development
- Topic: A wierd problem! SetForegroundColour etc.
- Replies: 4
- Views: 1256
A wierd problem! SetForegroundColour etc.
Hi! I've run in to a weird problem here in my OnSub-function. The first part works perfect but the else-part just won't work! I get no errors but the color change doesn't happen. If I put that line in the constructor instead it works perfectly. I've declared panel in the class and so on... void Wind...
- Wed Jun 18, 2008 11:12 pm
- Forum: C++ Development
- Topic: Displaying í and the other latin chars..how?
- Replies: 7
- Views: 6169
Re: Displaying í and the other latin chars..how?
This is my current code to test my problem: #include <wx/string.h> int main() { wxPuts(wxT("García")); // Displays "Garc?a" return 0; } How can I print the correct string: "García"? Thanks. The problem is probably the encoding of the source file (main.cpp or what you'r...
- Tue Jun 17, 2008 7:58 pm
- Forum: C++ Development
- Topic: Problem with wxTextFile!
- Replies: 4
- Views: 1338
1) add a member variable to your Window class, e.g. wxStaticText *m_statictext; 2) in the ctor of that class, you create one wxStaticText instance: m_statictext=new wxStaticText(panel, wxID_ANY, wxEmptyString); 3) in your Window::OnNext() method: m_statictext->SetLabel( getstring(k) ); YES! Thanks ...
- Tue Jun 17, 2008 6:49 pm
- Forum: C++ Development
- Topic: Problem with wxTextFile!
- Replies: 4
- Views: 1338
b) are you creating a new wxStaticText instance each time? What happens to the old one? Shouldn't you just change the text of the present wxStaticText? I think you just create new wxStaticText objects on top of each other, so that you still see the previous word under the new one. Yeah! You must be...