Search found 1286 matches

by tbreina
Sat Jan 08, 2005 12:15 pm
Forum: General Development
Topic: Is there a wxFile end of line method?
Replies: 9
Views: 3275

Is there a wxFile end of line method?

I'm saving a simple text file using wxTempFile. Currently, I'm just adding the "\r\n" to the end of strings written to the file to declare a newline. However, for portability between Windows and Unix is there a generic EOL method? Something like cout << endl in the standard namespace? Than...
by tbreina
Sat Jan 08, 2005 11:50 am
Forum: General Development
Topic: Native GUI question
Replies: 4
Views: 2144

Re: Native GUI question

Ok. I see. So they both could (potentially) be equal in execution speed and efficiency.

Thanks.
-Tony
by tbreina
Fri Jan 07, 2005 1:21 pm
Forum: General Development
Topic: Native GUI question
Replies: 4
Views: 2144

Native GUI question

The FAQ states that wxWidgets defines a common API across platforms, but uses the platform's native GUI interface.

On Windows, does this mean that the wxWidgets calls are really just wrappers to the MFC library?

Thanks.
-Tony
by tbreina
Mon Jan 03, 2005 7:20 am
Forum: General Development
Topic: Is the directory path for wxFileDialog relative or absolute?
Replies: 1
Views: 1694

Is the directory path for wxFileDialog relative or absolute?

I'm using the following statement in wx-devcpp: wxFileDialog WxOpenFileDialog1(this, _("Choose a file:"), "Data Files" , "" , "*.*", wxOPEN); According to the wxwidgets documentation, the 3rd parameter ("Data Files") should be the name of the default...
by tbreina
Mon Jan 03, 2005 7:02 am
Forum: wxDev-C++
Topic: wxMenuBar not adding check mark to menu items
Replies: 2
Views: 2293

Re: wxMenuBar not adding check mark to menu items

That did the trick.

Thanks again Guru. You're the best!

I'll add a bug report to the wx-devcpp list.

-Tony
by tbreina
Sun Jan 02, 2005 1:41 pm
Forum: wxDev-C++
Topic: wxMenuBar not adding check mark to menu items
Replies: 2
Views: 2293

wxMenuBar not adding check mark to menu items

I'm using wx-devcpp-beta-6.5. I have a wxMenu added to a wxFrame. I'd like to add a check mark next to one of my menu items. wx-devcpp coded the following: WxMenuBar1 = new wxMenuBar( ); wxMenu *ID_MNU_DATABASEOPTIONS_1004_Mnu_Obj = new wxMenu(0); WxMenuBar1->Append(ID_MNU_DATABASEOPTIONS_1004_Mnu_O...
by tbreina
Fri Dec 31, 2004 7:54 pm
Forum: wxDev-C++
Topic: Can I add a menu bar to a WxDialog?
Replies: 8
Views: 5794

Re: Can I add a menu bar to a WxDialog?

Guru,

I think this was with the 6.5 beta. I downloaded it from the link you posted on this forum. However, the executable still says 6.4beta so I'm not sure if the link you had was correct. Could you provide a new link on the website?

Thanks.
-Tony
by tbreina
Thu Dec 30, 2004 3:11 pm
Forum: wxDev-C++
Topic: Can I add a menu bar to a WxDialog?
Replies: 8
Views: 5794

Re: Can I add a menu bar to a WxDialog?

Ok. I seem to have found how to do this after a little more fumbling around. Although I can't add the OpenFileDialog box to a wxFrame, I can add a button to the frame which opens the FileDialog dialog box when it is clicked. I suppose I was thinking that the tool in wx-devcpp could do this if you tr...
by tbreina
Thu Dec 30, 2004 10:59 am
Forum: wxDev-C++
Topic: Can I add a menu bar to a WxDialog?
Replies: 8
Views: 5794

Re: Can I add a menu bar to a WxDialog?

>> wxFrame can accept menubars, toolbars etc. but you can't add a dialog to a frame. Yikes, so is this a catch-22? Why wouldn't there be a way to have dialogs and user-defined menus working? I've found that text boxes, buttons, and menu bars work on wxFrame, but that the wxFileDialog (along with oth...
by tbreina
Wed Dec 29, 2004 8:30 pm
Forum: wxDev-C++
Topic: Can I add a menu bar to a WxDialog?
Replies: 8
Views: 5794

Can I add a menu bar to a WxDialog?

I've been using wx-devcpp for development and have the hang of creating projects with wxDialog. It doesn't seem like I can add menu bars to these dialog boxes. Is that true? Assuming no, then I've been trying to create a wxFrame project (which looks like it can accept menu bars in wx-devcpp). Howeve...
by tbreina
Thu Nov 25, 2004 7:42 pm
Forum: wxDev-C++
Topic: When's wx-devcpp 6.5 beta coming?
Replies: 7
Views: 3734

When's wx-devcpp 6.5 beta coming?

Guru,

I haven't seen anything listed on your "Recent Activity" webpage in sometime. Any news on the next version of wx-devcpp 6.5beta? Maybe you could have a nightly build snapshot posted on the webpage?

Thanks for all of your hardwork!

-Tony