Search found 1195 matches

by mc2r
Sat Mar 14, 2009 7:13 pm
Forum: C++ Development
Topic: wxskin is GPL?
Replies: 3
Views: 1266

no, wxSkin uses wxWindows license with an addendum.

From the README in the source
wxSkin.zip wrote:wxSkin is published under the wxWindows license <http://www.wxwidgets.org/licence3.txt>
with the addendum that you notify the author about projects using wxSkin (consider this "postcard-ware").
-Max
by mc2r
Fri Mar 13, 2009 3:22 pm
Forum: C++ Development
Topic: Connecting to an msaccess database
Replies: 3
Views: 1271

There is a step-by-step in the docs http://docs.wxwidgets.org/stable/wx_odbcoverview.html#odbcoverview the wxDB class docs if you have questions on something used in the step-by-step http://docs.wxwidgets.org/stable/wx_wxdb.html#wxdb and there is sample program included with the wxWidgets source in ...
by mc2r
Thu Mar 12, 2009 9:36 pm
Forum: C++ Development
Topic: Speedometer style gauge.
Replies: 5
Views: 2511

Thanks, that looks quite a bit better. I'll have to take a deeper look at it later tonight/tomorrow.

-Max
by mc2r
Thu Mar 12, 2009 7:58 pm
Forum: C++ Development
Topic: Where to add headers and how does program flow go?
Replies: 3
Views: 1616

Re: Where to add headers and how does program flow go?

Apologies for asking fundamental questions. I'm not very proficient with wxWidget or C++ at all. First, I'd like to know how to add custom headers. fstream etc. Exactly the same as any c++ header. They go before anything they declare or define is used. I am guessing that maybe you don't have your i...
by mc2r
Thu Mar 12, 2009 3:47 pm
Forum: C++ Development
Topic: Speedometer style gauge.
Replies: 5
Views: 2511

Thanks guys, I didn't know about KWIC and they may be useful in the future but don't think they are going to work for me in this project. I need something that is a cross between the angular meter and the angular regulator. I am sure I could derive something from one of them or in some other way mak...
by mc2r
Wed Mar 11, 2009 7:13 pm
Forum: C++ Development
Topic: Speedometer style gauge.
Replies: 5
Views: 2511

Speedometer style gauge.

Hey all, I'm working on a client project and they want a speedometer style gauge to display a percentage. Does anyone know of a wx control that does this? I really don't want to write one from scratch. I've looked around wxCode and the code dump but haven't had any luck finding what I am looking for...
by mc2r
Tue Mar 10, 2009 3:19 am
Forum: C++ Development
Topic: Serialization question
Replies: 10
Views: 3542

So, basically as I directly use the class members with wxWidgets controls (wxListCtrl to be exact) it seems I need the wxString, but would it be a good idea to derive wxString and implement a serialize(...) ? Not too sure what to do. Or maybe there is a way to use the boost version of string with t...
by mc2r
Mon Mar 09, 2009 10:08 pm
Forum: C++ Development
Topic: OnInitCmdLine
Replies: 2
Views: 1478

Looks like you aren't setting the command line description but using the default. This thread http://forums.wxwidgets.org/viewtopic.php?t=3882&highlight=oninitcmdline Shows how to set the description. OnInitCmdLine() is where you want to set the description. OnCmdLineParsed() is where you want t...
by mc2r
Mon Mar 09, 2009 9:18 pm
Forum: C++ Development
Topic: 48 mb Dll to be distributed???
Replies: 11
Views: 2082

Auria wrote:There's also more tips here : http://wiki.wxwidgets.org/Reducing_Executable_Size#
More tips than my copy of that link? :)
by mc2r
Mon Mar 09, 2009 5:38 pm
Forum: C++ Development
Topic: Serialization question
Replies: 10
Views: 3542

Not sure what the size of wxXMLSerializer is. The DLL for boost::serialization with all the debug info stripped from it is 800K. I'm guessing wxXMLSerializer will come in under that, so if it meets your needs its probably the way to go. IMHO, worrying about a total app size under 5M is a little exce...
by mc2r
Mon Mar 09, 2009 5:25 pm
Forum: C++ Development
Topic: 48 mb Dll to be distributed???
Replies: 11
Views: 2082

yeap, shared means that wxWdigets will be linked dynamically at runtime in the case of windows as a DLL. Otherwise it is a static library that gets linked at compile time to the executable.

mc2r stands for MC2 Research, my company.

-Max
by mc2r
Mon Mar 09, 2009 5:21 pm
Forum: C++ Development
Topic: Best location to store passwords
Replies: 11
Views: 3287

I don't get it : if it's a real and important issue to keep password secret and access to server private, why storing passwords ? ("If you wan't to keep a secret, don't tell anyone"). I think these are two totally opposite needs! I'm guessing because software is written for users. The use...
by mc2r
Mon Mar 09, 2009 2:34 am
Forum: C++ Development
Topic: Serialization question
Replies: 10
Views: 3542

Re: Serialization question

I was thinking of using wxFileConfig, and flatten a Vector of custom objects to disk, but I need to know 1> How :) Good place to start would be clicking search and typing serialize into the box. 2> does wx have any serialization routines? If not, what would be some good (lightweight, no Boost stuff...
by mc2r
Mon Mar 09, 2009 2:26 am
Forum: C++ Development
Topic: 48 mb Dll to be distributed???
Replies: 11
Views: 2082

That's a common question here. Do a search for application, dll or binary size

Also the wiki has an article on reducing application size. Some of which is applicable to the dynamic libraries.

http://wiki.wxwidgets.org/Reducing_Executable_Size

-Max
by mc2r
Mon Mar 09, 2009 2:22 am
Forum: C++ Development
Topic: Best location to store passwords
Replies: 11
Views: 3287

I'm considering the following security treat: - Someone can just copy the config file containing the encrypted password to another computer running the same application. The application will internally decrypt the password and automatically login to the server. I though, using the win registry will...