Search found 8 matches

by shankar
Sun May 16, 2010 6:09 pm
Forum: C++ Development
Topic: Why this is not working !! wxDateTime problem ....
Replies: 1
Views: 818

Why this is not working !! wxDateTime problem ....

Hi i have some code wxCalendarCtrl *m_datepicker_sale = new wxCalendarCtrl(this); wxDateTime *datetime = new wxDateTime(); datetime->SetYear(2012); datetime->SetMonth(wxDateTime::Jun); datetime->SetDay(10); m_datepicker_sale->SetDate(*datetime); I am getting a error like assert failed in wxDateTime:...
by shankar
Wed Apr 28, 2010 7:35 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem with MinGW 4.5.0-1
Replies: 1
Views: 692

Problem with MinGW 4.5.0-1

I am having problem with mingw 4.5.0.1. getting error message like failed to initialize property 0xc0000005 at runtime. I have followed the guide in the readme file from MinGW > When linking C++ modules with shared libstdc++ (the default), the linker may warn about activating auto-import. The workar...
by shankar
Tue Apr 27, 2010 11:30 am
Forum: C++ Development
Topic: Correct way to pass a wxList as a method parameter or return
Replies: 7
Views: 2080

Most easy way of handling memory allocation and deallocation would be to use a smart pointer like std::auto_ptr and the boost::shared_ptr. std::auto_ptr<std::vector<UserShareAccountRow> > GetUserShareAccDetalis(std::string user); And use it like std::auto_ptr<std::vector<UserShareAccountRow> > UserS...
by shankar
Wed Feb 10, 2010 10:28 am
Forum: C++ Development
Topic: Need to write a thread to insert into the database
Replies: 9
Views: 1756

JimFairway wrote:Are you doing an GUI operations at all in the thread? They're normally a no-no.
Do you have info on where it crashes?

Jim
So do you mean wxWidgets isn't thread safe ??
i.e all the gui update must be done in the main thread like
the gtk.


with regards.....
by shankar
Wed Jan 13, 2010 9:10 am
Forum: C++ Development
Topic: Why wxWidgets does not have a namespace ?
Replies: 12
Views: 4296

Hi, Yes i know that a possible api change will introduce possible portability problems with the old projects but i think a change is necessity and will have to be done at some point of time. A change is always welcome . Looks like wxWidgets faces the same problem as fltk gui toolkit .Fltk has couple...
by shankar
Tue Jan 12, 2010 12:29 pm
Forum: C++ Development
Topic: Why wxWidgets does not have a namespace ?
Replies: 12
Views: 4296

Because wxWidgets is Oooold. And for the developers of wx backwardscompatibility is more important than some fancy new language features. BTW: There is a wxEvtHandler::Connect. Another BTW: Why are you using sigc::mem_fun, when there is TR1::bind(), wich will also be in the next C++ standard? Yeah,...
by shankar
Tue Jan 12, 2010 11:50 am
Forum: C++ Development
Topic: Why wxWidgets does not have a namespace ?
Replies: 12
Views: 4296

Why wxWidgets does not have a namespace ?

i have just started learning wxWidgets . i have a question . why does not the whole package of the library contained in a separate namespace .This would reduce the name clashes . another question is why macros are just every where, i mean every one will love this kind of statement----> m_button.sign...
by shankar
Mon Sep 21, 2009 7:18 am
Forum: Compiler / Linking / IDE Related
Topic: Cant compile a wxwidget example in Turbo c++ explorer 2006
Replies: 0
Views: 499

Cant compile a wxwidget example in Turbo c++ explorer 2006

Hi everybody i have a problem, please help me. I have created the wx lib files using Turbo Explorer2006. But i cant compile any examples of wxwidgets with it, i am getting the following error Messages, Please help me........ C:\wx\samples\access>make -f makefile.bcc MAKE Version 5.2 Copyright (c) 19...