Search found 9 matches
- Sat Nov 03, 2007 6:08 pm
- Forum: Compiler / Linking / IDE Related
- Topic: XCode 3, wxWidgets 2.8.6 Link Issue
- Replies: 2
- Views: 862
- Sat Nov 03, 2007 4:15 pm
- Forum: Compiler / Linking / IDE Related
- Topic: XCode 3, wxWidgets 2.8.6 Link Issue
- Replies: 2
- Views: 862
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 ...
- Fri Jun 24, 2005 2:21 pm
- Forum: C++ Development
- Topic: Sockets FAQ/Tutorial
- Replies: 31
- Views: 103781
Regarding the following snippet of code:
Who's responsibility is it to delete the pointer to prevent a memory leak?
Thanks,
John
Code: Select all
wxMyServerThread* pThread =
new wxMyServerThread(this, pSocket);
pThread->Create();
pThread->Run();
Thanks,
John
- Fri Mar 11, 2005 5:35 pm
- Forum: Announcements and Discoveries
- Topic: Code::Blocks IDE version 1.0-beta5 released!
- Replies: 3
- Views: 2378
- Sun Oct 17, 2004 2:18 pm
- Forum: C++ Development
- Topic: Removing wxListBox items with wxClientData pointers
- Replies: 0
- Views: 1224
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...
- Wed Oct 06, 2004 12:37 pm
- Forum: C++ Development
- Topic: wxProgressDialog question
- Replies: 4
- Views: 2527
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...
- Tue Oct 05, 2004 6:41 pm
- Forum: C++ Development
- Topic: wxProgressDialog question
- Replies: 4
- Views: 2527
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...
- Tue Oct 05, 2004 4:00 pm
- Forum: C++ Development
- Topic: wxProgressDialog question
- Replies: 4
- Views: 2527
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...
- Thu Sep 30, 2004 11:48 am
- Forum: C++ Development
- Topic: wxGrid woes
- Replies: 1
- Views: 1363
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...