Search found 9 matches

by jdubchak
Sat Nov 03, 2007 6:08 pm
Forum: Compiler / Linking / IDE Related
Topic: XCode 3, wxWidgets 2.8.6 Link Issue
Replies: 2
Views: 855

are you able to build the same file by calling g++ directly on the terminal? Yes, but I'm using an older makefile that has its heritage rooted in Linux and has such, the compile succeeds. However, its a terminal app and as such doesn't run properly since the UI appears "frozen" and I can'...
by jdubchak
Sat Nov 03, 2007 4:15 pm
Forum: Compiler / Linking / IDE Related
Topic: XCode 3, wxWidgets 2.8.6 Link Issue
Replies: 2
Views: 855

XCode 3, wxWidgets 2.8.6 Link Issue

Hi, I am attempting to compile/link a basic app under XCode 3 using a new Leopard Upgrade. I've been successful at building both the release and debug versions of wxWidgets and can run the samples correctly as well. Here is my compile, from a terminal.app: xcodebuild -configuration Debug Here is my ...
by jdubchak
Fri Jun 24, 2005 2:21 pm
Forum: C++ Development
Topic: Sockets FAQ/Tutorial
Replies: 31
Views: 95625

Regarding the following snippet of code:

Code: Select all

wxMyServerThread* pThread =
new wxMyServerThread(this, pSocket);
pThread->Create();
pThread->Run(); 
Who's responsibility is it to delete the pointer to prevent a memory leak?

Thanks,
John
by jdubchak
Fri Mar 11, 2005 5:35 pm
Forum: Announcements and Discoveries
Topic: Code::Blocks IDE version 1.0-beta5 released!
Replies: 3
Views: 2291

One thing I find missing in both the FAQ's and online information, is how to get it compiled and set up on a non-Windows platform such as Linux. The website professes to have a "cross-platform" IDE, but no information is given on how to realize this. Does anyone have this running under Lin...
by jdubchak
Sun Oct 17, 2004 2:18 pm
Forum: C++ Development
Topic: Removing wxListBox items with wxClientData pointers
Replies: 0
Views: 1216

Removing wxListBox items with wxClientData pointers

Hi, I've got a fairly simple scenario: I create a wxListBox in a dialog and populate it with a list of strings. I also associate a wxClientData derivative class that maps which database key the label in the listbox relates to, using: myListBox->Append(wxStringValue, new MyClientData(keyValue)); I am...
by jdubchak
Wed Oct 06, 2004 12:37 pm
Forum: C++ Development
Topic: wxProgressDialog question
Replies: 4
Views: 2499

As having to create it on the stack.. Why do you think it requires this? Sorry, a more accurate statement would be: I would prefer two-step construction with wxProgressDialog, similar to many (if not all) of the other wxWidgets Windows. The disadvantage to the current wxProgressDialog is that the c...
by jdubchak
Tue Oct 05, 2004 6:41 pm
Forum: C++ Development
Topic: wxProgressDialog question
Replies: 4
Views: 2499

Re: wxProgressDialog question

Sounds like you're trying (or have) some sort of MVC design in your application. Yes, absolutely. Doesn't everyone? :D At least, you have an obvious model (the database app), and an obvious view (wxProgressDialog) The problem is that the wxProgressDialog expects to be created on the stack as a loca...
by jdubchak
Tue Oct 05, 2004 4:00 pm
Forum: C++ Development
Topic: wxProgressDialog question
Replies: 4
Views: 2499

wxProgressDialog question

I implmented a database intensive method where I want to update the user on progress, obviously using a wxProgressDialog dialog. However, the database layer is separate frpm the user interface that initiated that process and being able to update from one to the other has been problematic. Has anyone...
by jdubchak
Thu Sep 30, 2004 11:48 am
Forum: C++ Development
Topic: wxGrid woes
Replies: 1
Views: 1359

mshaw62, I encountered the same problem sometime back. The solution for me was to explicitly set the column and row sizes before I called CreateGrid. Here's the code I used: m_Grid = new wxGrid(dlg, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL); m_Grid->SetDefaultColSize(150); m_G...