/////////////////////////////////////////////////////////////////////////////
// Name:        dialog_build_BOM.h
// Purpose:     
// Author:      jean-pieere Charras
// Modified by: 
// Created:     01/15/06 18:18:44
// RCS-ID:      
// Copyright:   GNU license
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// Generated by DialogBlocks (unregistered), 01/15/06 18:18:44

#ifndef _DIALOG_BUILD_BOM_H_
#define _DIALOG_BUILD_BOM_H_

#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dialog_build_BOM.cpp"
#endif

/*!
 * Includes
 */

////@begin includes
#include "wx/valgen.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_DIALOG 10000
#define SYMBOL_WINEDA_BUILD_BOM_FRAME_STYLE wxDEFAULT_DIALOG_STYLE|wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxSTAY_ON_TOP|wxCLOSE_BOX
#define SYMBOL_WINEDA_BUILD_BOM_FRAME_TITLE _("List of Material")
#define SYMBOL_WINEDA_BUILD_BOM_FRAME_IDNAME ID_DIALOG
#define SYMBOL_WINEDA_BUILD_BOM_FRAME_SIZE wxSize(400, 300)
#define SYMBOL_WINEDA_BUILD_BOM_FRAME_POSITION wxDefaultPosition
#define ID_CHECKBOX 10001
#define ID_CHECKBOX1 10003
#define ID_CHECKBOX2 10004
#define ID_CHECKBOX3 10005
#define ID_CHECKBOX4 10006
#define ID_CHECKBOX5 10002
////@end control identifiers

/*!
 * Compatibility
 */

#ifndef wxCLOSE_BOX
#define wxCLOSE_BOX 0x1000
#endif
#ifndef wxFIXED_MINSIZE
#define wxFIXED_MINSIZE 0
#endif

/*!
 * WinEDA_Build_BOM_Frame class declaration
 */

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

public:
    /// Constructors
    WinEDA_Build_BOM_Frame( );
    WinEDA_Build_BOM_Frame( WinEDA_DrawFrame* parent,
			wxWindowID id = SYMBOL_WINEDA_BUILD_BOM_FRAME_IDNAME,
			const wxString& caption = SYMBOL_WINEDA_BUILD_BOM_FRAME_TITLE,
			const wxPoint& pos = SYMBOL_WINEDA_BUILD_BOM_FRAME_POSITION,
			const wxSize& size = SYMBOL_WINEDA_BUILD_BOM_FRAME_SIZE,
			long style = SYMBOL_WINEDA_BUILD_BOM_FRAME_STYLE );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_BUILD_BOM_FRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_BUILD_BOM_FRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_BUILD_BOM_FRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_BUILD_BOM_FRAME_SIZE, long style = SYMBOL_WINEDA_BUILD_BOM_FRAME_STYLE );

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

////@begin WinEDA_Build_BOM_Frame event handler declarations

    /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
    void OnOkClick( wxCommandEvent& event );

    /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_EXIT
    void OnExitClick( wxCommandEvent& event );

////@end WinEDA_Build_BOM_Frame event handler declarations

	void GenList(void);

////@begin WinEDA_Build_BOM_Frame member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end WinEDA_Build_BOM_Frame member function declarations

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

////@begin WinEDA_Build_BOM_Frame member variables
    wxCheckBox* m_ListCmpbyRefItems;
    wxCheckBox* m_ListCmpbyValItems;
    wxCheckBox* m_ListSubCmpItems;
    wxCheckBox* m_GenListLabelsbyVal;
    wxCheckBox* m_GenListLabelsbySheet;
    wxCheckBox* m_GetListBrowser;
////@end WinEDA_Build_BOM_Frame member variables

	WinEDA_DrawFrame * m_Parent;
	wxString m_LibArchiveFileName;
	wxString m_ListFileName;
};

#endif
    // _DIALOG_BUILD_BOM_H_
