wxCommandLineHistory Topic is solved

Are you writing your own components and need help with how to set them up or have questions about the components you are deriving from ? Ask them here.
Post Reply
orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

wxCommandLineHistory

Post by orbitcowboy » Thu Feb 26, 2009 10:34 am

Hi friends,

has anybody written a class that stores a history of commands (maybe entered by a user into a textctrl window) in a stack like manner?

Thanks for your help

Regards Orbitcowboy

Grrr
Earned some good credits
Earned some good credits
Posts: 126
Joined: Fri Apr 11, 2008 8:48 am
Location: Netherlands

Post by Grrr » Fri Feb 27, 2009 9:11 am

wxList has some stack-like functions, such as push_front() and pop_front(). You can also use wxArrayString if you need array-like accecss.

orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

Post by orbitcowboy » Fri Feb 27, 2009 12:21 pm

<!-- -->
Grrr wrote:wxList has some stack-like functions, such as push_front() and pop_front(). You can also use wxArrayString if you need array-like accecss.
Thanks a lot, this is exactly what i need! :-)

Regards

Orbitcowboy

Post Reply