Search found 317 matches
- Mon Jun 19, 2006 6:10 pm
- Forum: C++ Development
- Topic: 3dsmax plugin dialog problem
- Replies: 7
- Views: 1623
Maybe the problem is that you're calling ShowModal() inside OnInit(), entering a modal event loop before the application is fully initialized. What if you change to dynamic allocation and non-modal show? class wxDLLApp : public wxApp { bool OnInit() { CExportDlg* dlg = new CExportDlg(NULL); dlg->Cen...
- Mon Jun 19, 2006 12:40 pm
- Forum: C++ Development
- Topic: Problem with Updating UI
- Replies: 1
- Views: 812
- Mon Jun 19, 2006 12:29 pm
- Forum: General Forum Issues
- Topic: Problems on showing code...
- Replies: 13
- Views: 5014
So, to make things short: I hope I fixed this issue. Please do ma favor and test for yourself, just to make sure I didn't do something funny. :) Just one thing. My testing code was not stored correctly, so your final quotes are not much of a testing :P. I edited the original post and voila, everyth...
- Mon Jun 19, 2006 8:48 am
- Forum: General Forum Issues
- Topic: Problems on showing code...
- Replies: 13
- Views: 5014
I was hoping that what I posted was modified on it's way from the database, so that when this is fixed, everything will display properly. Now after clicking edit on my previous post, there was a sad surprise: the code in the edit window is destroyed. With preview before submit, nothing disappears fr...
- Sun Jun 18, 2006 8:54 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Linking with wxWidgets + Other static libraries
- Replies: 2
- Views: 1023
- Sun Jun 18, 2006 7:41 pm
- Forum: C++ Development
- Topic: wxConfig bug ?
- Replies: 4
- Views: 1788
- Sun Jun 18, 2006 6:43 pm
- Forum: wxDev-C++
- Topic: clicking on wxslider doesn't work like I want
- Replies: 2
- Views: 1355
- Sat Jun 17, 2006 5:47 pm
- Forum: C++ Development
- Topic: Bitmap-resize problem with wxGTK
- Replies: 4
- Views: 1755
First, the SetWidth/Height methods are IMO a design mistake in wxWidgets -- they don't resize anything (neither reallocate memory nor crop any pixels), just assign some member variables. Don't use them, they're most probably not what you want, anyway. Do I understand correctly that you create a bitm...
- Sat Jun 17, 2006 3:14 pm
- Forum: General Development
- Topic: More than one frame within an application
- Replies: 5
- Views: 2100
The miniframe object is created in the constructor of the main frame. After the miniframe was created a valid pointer to the object exists. When the constructor is left and another method is getting called like the event handler the pointer does not point anymore to the address of the miniframe obj...
- Sat Jun 17, 2006 11:46 am
- Forum: General Forum Issues
- Topic: Problems on showing code...
- Replies: 13
- Views: 5014
I noticed some strange behaviour long before the update -- sometimes text between sharp braces disappeared. The problem was '<' not replaced by < in HTML code, causing trouble to browsers. But back then it only happened outside tags (I think). I devised a workaround, placing either a space or [b][/b...
- Fri Jun 16, 2006 9:57 pm
- Forum: General Development
- Topic: wxPostEvent() clarification/use in driver interface
- Replies: 2
- Views: 10778
Here, in App::OnInit(), you pass the wrong handler to thread's ctor: WorkerThread *thread = new WorkerThread(this); ...so the thread sends events to the app object. Probably you wanted to write: WorkerThread *thread = new WorkerThread(frame); The funny thing is if you did it the other way round, tha...
- Wed Jun 14, 2006 9:25 am
- Forum: General Development
- Topic: Processing mouse events on wxTextCtrl
- Replies: 7
- Views: 3901
After a little bit of confusion about the coordinates I used the following method to get the exact point on which the mouse was clicked. wxPoint position = ScreenToClient(event.GetPosition()); position.x = (-1)*(position.x) + (2)*(event.GetPosition().x); position.y = (-1)*(position.y) + (2)*(event....
- Tue Jun 13, 2006 11:08 am
- Forum: C++ Development
- Topic: wxURL / wxFileSystem hang
- Replies: 5
- Views: 1334
- Mon Jun 12, 2006 2:23 pm
- Forum: C++ Development
- Topic: wxTextCtrl problem
- Replies: 15
- Views: 3796
- Mon Jun 12, 2006 10:32 am
- Forum: C++ Development
- Topic: wxList, can
- Replies: 3
- Views: 872
pFVertX = (double*) malloc(sizeof(double)); pFVertY = (double*) new double; pFVertZ = new double(); Looks like you've tried different ways of allocation. Apart from the fact that dynamically allocating memory for a single value is unwise (it's only wasting memory, nothing else), you should stick to...