On Tue, Sep 9, 2008 at 1:04 AM, Paul Lozancich
<[EMAIL PROTECTED]> wrote:
> Can someone show me a minimal piece of code that has a wxPerl application
> that spawns a new dialog box when someone presses a button on the app
> window.  I would need to pass some data from the application window to the
> dialog and vice-versa.
>
> This would be a custom dialog.  I can't use the task specific dialogs such
> as wxFileDialog or WxDirDialog.

you can use Wx::Dialog to build anything you like.
There is a simple example in Wx::Demo or you can look at
one of the dialogs of Padre.
e.g. this one: http://svn.perlide.org/padre/trunk/lib/Padre/Wx/FindDialog.pm

Gabor

-- 
Gabor Szabo http://szabgab.com/blog.html
Test Automation Tips http://szabgab.com/test_automation_tips.html

Reply via email to