Search found 65 matches

by Nelson Joseph
Thu Sep 15, 2011 8:19 am
Forum: C++ Development
Topic: wxGrid crashes when updated too fast.
Replies: 4
Views: 2148

Re: wxGrid crashes when updated too fast.

I call SetCellValue(...) /GetCellValue repeatedly
Have you tried this: wxGridTableBase::CanSetValueAs(int row, int col, const wxString& typeName)
by Nelson Joseph
Wed Sep 14, 2011 11:09 am
Forum: Compiler / Linking / IDE Related
Topic: create a 64 bit wxtreelistctrl based application in my windo
Replies: 1
Views: 630

Re: create a 64 bit wxtreelistctrl based application in my w

Does minimal (from samples) program work correctly?
by Nelson Joseph
Wed Sep 14, 2011 5:59 am
Forum: Component Writing
Topic: Split Button
Replies: 6
Views: 6573

Re: Split Button

Catalin:
One default action to open and multiple other choices for open
What could be the easiest way?
Split Button.jpg
Split Button.jpg (20.31 KiB) Viewed 6553 times
by Nelson Joseph
Tue Sep 13, 2011 3:43 pm
Forum: Component Writing
Topic: Split Button
Replies: 6
Views: 6573

Re: Split Button

Catalin:

What is your opinion on deriving a class from wxButton? Will it worthy?
by Nelson Joseph
Tue Sep 13, 2011 11:18 am
Forum: Component Writing
Topic: Split Button
Replies: 6
Views: 6573

Split Button

Hi All,

I want to create split button. How can we make it in wxWidgets 2.8?
by Nelson Joseph
Mon Sep 12, 2011 7:28 am
Forum: Component Writing
Topic: develop a wxDirDialog that allow multiple dir selection
Replies: 1
Views: 2516

Re: develop a wxDirDialog that allow multiple dir selection

wxDirDialog shows a directory selector dialog, allowing the user to select a single directory.

Try the following:
wxFileDialog with wxFD_MULTIPLE style
by Nelson Joseph
Thu Sep 08, 2011 7:27 am
Forum: C++ Development
Topic: Context menu does not appear at exact mouse position
Replies: 8
Views: 2311

Re: Context menu does not appear at exact mouse position

I have modified the code of DoPopupMenu() on window.cpp as in wxWidgets 2.9

Code: Select all

menu->UpdateUI();
wxPoint point;
if ( x == wxDefaultCoord && y == wxDefaultCoord )
	{
		point = wxGetMousePosition();
	}
	else
	{
		point = ClientToScreen( wxPoint( x, y ) );
	}
Thanks.
by Nelson Joseph
Wed Sep 07, 2011 12:40 pm
Forum: C++ Development
Topic: Context menu does not appear at exact mouse position
Replies: 8
Views: 2311

Re: Context menu does not appear at exact mouse position

If I remove my toolbar, then it works perfectly. Aha! Then see ticket #13223 Catalin: One more problem arise. I have made change according to your suggestion. But the context menu goes out of frame if the frame is in restore down. I have attached the screen shot for your perusal. Any suggestion...
by Nelson Joseph
Tue Sep 06, 2011 10:45 am
Forum: C++ Development
Topic: wxMenu doesn't display image
Replies: 4
Views: 1244

Re: wxMenu doesn't display image

Have you tried with default images by wxWidgets?
e.g.

Code: Select all

SetBitmap(wxArtProvider::GetBitmap(wxART_COPY));
RedCAT wrote:cur->SetDisabledBitmap(m_pToolBarImages->GetBitmap(IMAGE_CLEAR_DISABLED));
What SetDisableBitmap() does in your code? Also check the image dimension (16x16)
by Nelson Joseph
Mon Sep 05, 2011 9:43 am
Forum: C++ Development
Topic: statusbar problem on openGL application
Replies: 6
Views: 1823

Re: statusbar problem on openGL application

I think the problem with openGL code. If I remove the orientation marker, then it works fine.
Thanks.
by Nelson Joseph
Sun Sep 04, 2011 3:42 pm
Forum: C++ Development
Topic: statusbar problem on openGL application
Replies: 6
Views: 1823

Re: statusbar problem on openGL application

Sorry! same problem occurs!!!

Is wxStatusbar too hard to solve in wxWidgets?
by Nelson Joseph
Sun Sep 04, 2011 7:01 am
Forum: C++ Development
Topic: statusbar problem on openGL application
Replies: 6
Views: 1823

Re: statusbar problem on openGL application

I add the panes in the following manner: In my frame constructor, m_auiManager = new wxAuiManager( this ); // Left side note book m_auiManager->AddPane( ConstructNoteBook(), wxAuiPaneInfo() .Caption( _T( "Pages" ) ).Left().MinSize( 200, 100 ).PinButton().Resizable() ); ... ... wxAuiToolBar* toolBar1...
by Nelson Joseph
Sat Sep 03, 2011 10:40 am
Forum: C++ Development
Topic: statusbar problem on openGL application
Replies: 6
Views: 1823

Re: statusbar problem on openGL application

Has anybody have any suggestion to this issue?

Thanks.
by Nelson Joseph
Fri Sep 02, 2011 11:00 am
Forum: C++ Development
Topic: statusbar problem on openGL application
Replies: 6
Views: 1823

statusbar problem on openGL application

Dear All: I have created a simple application using wxAuiManager. It has * Menubar * Toolbar * wxAuiNotebook (Left) * openGL like canvas (Center) * statusbar Whenever I click restore button of my frame, the openGL canvas overlaps the status bar . If I click minimize and then maximize, then it become...