/////////////////////////////////////////////////////////////////////////////
// Name:        wxbuildpropdlg.h
// Purpose:     wxPackageWXBuildPropDlg definition
// Author:      Francesco Montorsi
// Modified by: 
// Created:     25/07/2006 16:35:04
// RCS-ID:      $Id: wxbuildpropdlg.h,v 1.3 2007/01/17 21:51:45 frm Exp $
// Copyright:   (c) 2006 Francesco Montorsi
// Licence:     wxWidgets license
/////////////////////////////////////////////////////////////////////////////

#ifndef _WXBUILDPROPDLG_H_
#define _WXBUILDPROPDLG_H_

/*!
 * Includes
 */

#include "wxp/packagedep.h"


/*!
 * Forward declarations
 */

class wxDirPickerCtrl;
class wxWindow;
class wxOptionEditorCtrl;


/*!
 * Control identifiers
 */

////@begin control identifiers
#define SYMBOL_WXPACKAGEWXBUILDPROPDLG_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_WXPACKAGEWXBUILDPROPDLG_TITLE _("wxWidgets build properties")
#define SYMBOL_WXPACKAGEWXBUILDPROPDLG_IDNAME wxID_ANY
#define SYMBOL_WXPACKAGEWXBUILDPROPDLG_SIZE wxSize(400, 300)
#define SYMBOL_WXPACKAGEWXBUILDPROPDLG_POSITION wxDefaultPosition
#define ID_WXBUILDPROP_LOCATION 10055
#define ID_WXBUILDPROP_PORT 10001
#define ID_WXBUILDPROP_VERSION 10056
#define ID_WXBUILDPROP_COMPILER 10018
#define ID_WXBUILDPROP_UNICODE 10054
#define ID_WXBUILDPROP_DEBUG 10062
#define ID_WXBUILDPROP_STATIC 10020
#define ID_WXBUILDPROP_AUTODETECT 10063
////@end control identifiers


// ----------------------------------------------------------------------------
// wxPackageWXBuildPropDlg 
// ----------------------------------------------------------------------------

class wxPackageWXBuildPropDlg: public wxDialog
{    
    DECLARE_DYNAMIC_CLASS( wxPackageWXBuildPropDlg )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    wxPackageWXBuildPropDlg( );
    wxPackageWXBuildPropDlg( wxWindow* parent, wxWindowID id = SYMBOL_WXPACKAGEWXBUILDPROPDLG_IDNAME, const wxString& caption = SYMBOL_WXPACKAGEWXBUILDPROPDLG_TITLE, const wxPoint& pos = SYMBOL_WXPACKAGEWXBUILDPROPDLG_POSITION, const wxSize& size = SYMBOL_WXPACKAGEWXBUILDPROPDLG_SIZE, long style = SYMBOL_WXPACKAGEWXBUILDPROPDLG_STYLE );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WXPACKAGEWXBUILDPROPDLG_IDNAME, const wxString& caption = SYMBOL_WXPACKAGEWXBUILDPROPDLG_TITLE, const wxPoint& pos = SYMBOL_WXPACKAGEWXBUILDPROPDLG_POSITION, const wxSize& size = SYMBOL_WXPACKAGEWXBUILDPROPDLG_SIZE, long style = SYMBOL_WXPACKAGEWXBUILDPROPDLG_STYLE );

    /// Creates the controls and sizers
    void CreateControls();

    /// Should we show tooltips?
    static bool ShowToolTips();

public:         // event handlers

    void OnOK(wxCommandEvent &);
    void OnAutodetect(wxCommandEvent &ev);

public:         // public API

    void SetBuild(const wxWidgetsBuild &build);
    wxWidgetsBuild GetBuild() const;


protected:      // controls
    wxChoice* m_pPortChoice;
    wxChoice* m_pVersionChoice;
    wxChoice* m_pCompilerChoice;
    wxDirPickerCtrl *m_pLocation;
    wxRadioBox* m_pUnicodeRadioBox;
    wxRadioBox* m_pDebugRadioBox;
    wxRadioBox* m_pStaticRadioBox;
};

#endif
    // _WXBUILDPROPDLG_H_
