コード例 #1
0
#include <wx/tokenzr.h>
#include <manager.h>
#include <configmanager.h>
#include <pluginmanager.h>
#include <editormanager.h>
#include <projectmanager.h>
#include <cbeditor.h>
#include <globals.h>
#include "cbstyledtextctrl.h"

#ifndef CB_PRECOMP
    #include "cbproject.h"
#endif


int idMenuJumpToImplementation = wxNewId();
int idMenuRefreshTree = wxNewId();
int idMenuForceReparse = wxNewId();
int idMenuDoNotSort = wxNewId();
int idMenuSortAlphabetically = wxNewId();
int idMenuBottomTree = wxNewId();

BEGIN_EVENT_TABLE(WorkspaceBrowserF, wxPanel)
    // m_TreeBottom
	EVT_TREE_ITEM_ACTIVATED(XRCID("treeMembersWBF"), WorkspaceBrowserF::OnTreeItemDoubleClick)
    EVT_TREE_ITEM_RIGHT_CLICK(XRCID("treeMembersWBF"), WorkspaceBrowserF::OnTreeItemRightClick)
    // m_TreeTop
	EVT_TREE_ITEM_ACTIVATED(XRCID("treeAllWBF"), WorkspaceBrowserF::OnTreeItemDoubleClick)
    EVT_TREE_ITEM_RIGHT_CLICK(XRCID("treeAllWBF"), WorkspaceBrowserF::OnTreeItemRightClick)
    EVT_TREE_SEL_CHANGED(XRCID("treeAllWBF"), WorkspaceBrowserF::OnTreeItemSelected)
    EVT_TREE_ITEM_EXPANDING(XRCID("treeAllWBF"), WorkspaceBrowserF::OnTreeItemExpanding)
コード例 #2
0
#include <wx/menu.h>
#include <wx/filedlg.h>
#include <wx/panel.h>
#include <wx/string.h>
#include <wx/statusbr.h>
#include <wx/intl.h>
#include <wx/richtext/richtextctrl.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/artprov.h>
//*)

#include <wx/numdlg.h>

//(*IdInit(frControlPanel)
const long frControlPanel::ID_PANEL2 = wxNewId();
const long frControlPanel::ID_PANEL3 = wxNewId();
const long frControlPanel::ID_PANEL4 = wxNewId();
const long frControlPanel::ID_PANEL5 = wxNewId();
const long frControlPanel::ID_PANEL6 = wxNewId();
const long frControlPanel::ID_PANEL7 = wxNewId();
const long frControlPanel::ID_PANEL8 = wxNewId();
const long frControlPanel::ID_PANEL9 = wxNewId();
const long frControlPanel::ID_PANEL10 = wxNewId();
const long frControlPanel::ID_PANEL11 = wxNewId();
const long frControlPanel::ID_PANEL13 = wxNewId();
const long frControlPanel::ID_PANEL1 = wxNewId();
const long frControlPanel::ID_NOTEBOOK1 = wxNewId();
const long frControlPanel::ID_RICHTEXTCTRL1 = wxNewId();
const long frControlPanel::ID_MENUITEM1 = wxNewId();
const long frControlPanel::ID_MENUITEM2 = wxNewId();
コード例 #3
0
    if(list==_T("")) //any empty list matches everything by default
        return true;
    wxString wildlist=list;
    wxString wild=list.BeforeFirst(';');
    while(wildlist!=_T(""))
    {
        if(wild!=_T("") && ::wxMatchWild(wild,name))
            return true;
        wildlist=wildlist.AfterFirst(';');
        wild=wildlist.BeforeFirst(';');
    }
    return false;
}


int ID_INTERP_WINDOW_TOGGLE=wxNewId();

// events handling
BEGIN_EVENT_TABLE(PythonInterpreter, cbPlugin)
	// add any events you want to handle here
    EVT_MENU(ID_INTERP_WINDOW_TOGGLE,PythonInterpreter::OnToggleInterpreterWindow)
    EVT_UPDATE_UI(ID_INTERP_WINDOW_TOGGLE, PythonInterpreter::OnUpdateUI)
    EVT_COMMAND(0,wxEVT_SHELL_ADD_CLICKED, PythonInterpreter::AddNewInterpreter)
END_EVENT_TABLE()


void PythonInterpreter::OnUpdateUI(wxUpdateUIEvent& event)
{
#ifndef TOOLSPLUSLINK
    if(m_ViewMenu)
    {
コード例 #4
0
ファイル: AssistPanel.cpp プロジェクト: rickcowan/xLights
#include "AssistPanel.h"
#include "../../xLightsMain.h"

//(*InternalHeaders(AssistPanel)
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(AssistPanel)
const long AssistPanel::ID_SCROLLEDWINDOW_Assist = wxNewId();
//*)

BEGIN_EVENT_TABLE(AssistPanel,wxPanel)
	//(*EventTable(AssistPanel)
	//*)
END_EVENT_TABLE()

AssistPanel::AssistPanel(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)
: mGridCanvas(nullptr)
{
	//(*Initialize(AssistPanel)
	Create(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL|wxWANTS_CHARS, _T("id"));
	FlexGridSizer1 = new wxFlexGridSizer(1, 1, 0, 0);
	ScrolledWindowAssist = new wxScrolledWindow(this, ID_SCROLLEDWINDOW_Assist, wxDefaultPosition, wxDefaultSize, wxWANTS_CHARS|wxVSCROLL|wxHSCROLL, _T("ID_SCROLLEDWINDOW_Assist"));
	FlexGridSizer2 = new wxFlexGridSizer(2, 1, 0, 0);
	FlexGridSizer2->AddGrowableCol(0);
	FlexGridSizer2->AddGrowableRow(0);
	ScrolledWindowAssist->SetSizer(FlexGridSizer2);
	FlexGridSizer2->Fit(ScrolledWindowAssist);
	FlexGridSizer2->SetSizeHints(ScrolledWindowAssist);
	FlexGridSizer1->Add(ScrolledWindowAssist, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
コード例 #5
0
#include <wx/button.h>
#include <wx/string.h>
#include <wx/slider.h>
#include <wx/intl.h>
#include <wx/stattext.h>
#include <wx/choice.h>
#include <wx/radiobox.h>
//*)
#include <wx/colordlg.h>

#include <configmanager.h>

#include "cbDiffUtils.h"

//(*IdInit(cbDiffConfigPanel)
const long cbDiffConfigPanel::ID_BUTTON2 = wxNewId();
const long cbDiffConfigPanel::ID_STATICTEXT1 = wxNewId();
const long cbDiffConfigPanel::ID_SLIDER1 = wxNewId();
const long cbDiffConfigPanel::ID_BUTTON1 = wxNewId();
const long cbDiffConfigPanel::ID_STATICTEXT2 = wxNewId();
const long cbDiffConfigPanel::ID_SLIDER2 = wxNewId();
const long cbDiffConfigPanel::ID_CHOICE1 = wxNewId();
const long cbDiffConfigPanel::ID_BUTTON3 = wxNewId();
const long cbDiffConfigPanel::ID_STATICTEXT3 = wxNewId();
const long cbDiffConfigPanel::ID_SLIDER3 = wxNewId();
const long cbDiffConfigPanel::ID_RADIOBOX1 = wxNewId();
const long cbDiffConfigPanel::ID_CHOICE2 = wxNewId();
//*)

BEGIN_EVENT_TABLE(cbDiffConfigPanel, cbConfigurationPanel)
	//(*EventTable(cbDiffConfigPanel)
コード例 #6
0
            void OnLabelKillFocus(wxFocusEvent& event);
            void OnSelectionChange(wxCommandEvent& event);
            //*)

            //(*Declarations(wxsListbookParentQP)
            wxCheckBox* Selected;
            wxTextCtrl* Label;
            //*)

            wxsListbookExtra* m_Extra;

            DECLARE_EVENT_TABLE()
    };

    //(*IdInit(wxsListbookParentQP)
    const long wxsListbookParentQP::ID_TEXTCTRL1 = wxNewId();
    const long wxsListbookParentQP::ID_CHECKBOX1 = wxNewId();
    //*)

    BEGIN_EVENT_TABLE(wxsListbookParentQP,wxPanel)
        //(*EventTable(wxsListbookParentQP)
        //*)
    END_EVENT_TABLE()

    void wxsListbookParentQP::OnLabelText(wxCommandEvent& event)       { SaveData(); }
    void wxsListbookParentQP::OnLabelKillFocus(wxFocusEvent& event)    { SaveData(); event.Skip(); }
    void wxsListbookParentQP::OnSelectionChange(wxCommandEvent& event) { SaveData(); }

    WXS_ST_BEGIN(wxsListbookStyles,_T(""))
        WXS_ST_CATEGORY("wxListbook")
        WXS_ST(wxLB_DEFAULT)
コード例 #7
0
ファイル: RenderableEffect.cpp プロジェクト: Jchuchla/xLights
AssistPanel *RenderableEffect::GetAssistPanel(wxWindow *parent, xLightsFrame* xl_frame) {
    AssistPanel *assist_panel = new AssistPanel(parent);
    xlGridCanvas* grid = new xlGridCanvasEmpty(assist_panel->GetCanvasParent(), wxNewId(), wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL|wxFULL_REPAINT_ON_RESIZE, _T("EmptyGrid"));
    assist_panel->SetGridCanvas(grid);
    return assist_panel;
}
コード例 #8
0
ファイル: filepathpanel.cpp プロジェクト: 469306621/Languages
 */

#include <sdk.h>
#ifndef CB_PRECOMP
    #include <wx/filedlg.h>
    #include <wx/intl.h>
    #include <cbproject.h>
    #include <projectbuildtarget.h>
    #include <projectmanager.h>
    #include <manager.h>
#endif
#include <wx/filefn.h>
#include "filepathpanel.h"

//(*IdInit(FilePathPanel)
const long FilePathPanel::ID_STATICTEXT1 = wxNewId();
const long FilePathPanel::ID_STATICTEXT2 = wxNewId();
const long FilePathPanel::ID_TEXTCTRL1 = wxNewId();
const long FilePathPanel::ID_BUTTON1 = wxNewId();
const long FilePathPanel::ID_STATICTEXT3 = wxNewId();
const long FilePathPanel::ID_TEXTCTRL2 = wxNewId();
const long FilePathPanel::ID_CHECKBOX1 = wxNewId();
const long FilePathPanel::ID_STATICTEXT4 = wxNewId();
const long FilePathPanel::ID_CHECKLISTBOX2 = wxNewId();
const long FilePathPanel::ID_BUTTON2 = wxNewId();
const long FilePathPanel::ID_BUTTON3 = wxNewId();
//*)

BEGIN_EVENT_TABLE(FilePathPanel,wxPanel)
    //(*EventTable(FilePathPanel)
    //*)
コード例 #9
0
ファイル: ExternalEventsEditor.cpp プロジェクト: HaoDrang/GD
//(*InternalHeaders(ExternalEventsEditor)
#include <wx/intl.h>
#include <wx/string.h>
//*)
#include <wx/textctrl.h>
#include "GDCore/Tools/Log.h"
#include <wx/ribbon/bar.h>
#include "GDCore/Tools/Localization.h"
#include "GDCore/Project/ExternalEvents.h"
#include "GDCore/CommonTools.h"
#include "GDCore/Project/Project.h"
#include "GDCore/IDE/Dialogs/MainFrameWrapper.h"
#include "EventsEditor.h"

//(*IdInit(ExternalEventsEditor)
const long ExternalEventsEditor::ID_STATICTEXT1 = wxNewId();
const long ExternalEventsEditor::ID_COMBOBOX1 = wxNewId();
const long ExternalEventsEditor::ID_CUSTOM2 = wxNewId();
//*)

BEGIN_EVENT_TABLE(ExternalEventsEditor,wxPanel)
	//(*EventTable(ExternalEventsEditor)
	//*)
END_EVENT_TABLE()

ExternalEventsEditor::ExternalEventsEditor(wxWindow* parent, gd::Project & game_, gd::ExternalEvents & events_, const gd::MainFrameWrapper & mainFrameWrapper_) :
events(events_),
game(game_),
mainFrameWrapper(mainFrameWrapper_)
{
	//(*Initialize(ExternalEventsEditor)
コード例 #10
0
ファイル: AnalysisPanel.cpp プロジェクト: etrange02/GMX
#include "AnalysisPanel.h"
#include "word/GuematricNumber.h"

//(*InternalHeaders(AnalysisPanel)
#include <wx/button.h>
#include <wx/combobox.h>
#include <wx/intl.h>
#include <wx/listctrl.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/textctrl.h>
//*)

//(*IdInit(AnalysisPanel)
const long AnalysisPanel::ID_STATICTEXT1 = wxNewId();
const long AnalysisPanel::ID_COMBOBOX1 = wxNewId();
const long AnalysisPanel::ID_TEXTCTRL1 = wxNewId();
const long AnalysisPanel::ID_STATICTEXT2 = wxNewId();
const long AnalysisPanel::ID_BUTTON1 = wxNewId();
const long AnalysisPanel::ID_STATICTEXT3 = wxNewId();
const long AnalysisPanel::ID_STATICTEXT4 = wxNewId();
const long AnalysisPanel::ID_LISTVIEW1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(AnalysisPanel,wxPanel)
	//(*EventTable(AnalysisPanel)
	//*)
END_EVENT_TABLE()

AnalysisPanel::AnalysisPanel(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size, long style, const wxString& name)
コード例 #11
0
#elif defined(__UNIX__)
        wxbuild << _T("-Linux");
#endif

#if wxUSE_UNICODE
        wxbuild << _T("-Unicode build");
#else
        wxbuild << _T("-ANSI build");
#endif // wxUSE_UNICODE
    }

    return wxbuild;
}

//(*IdInit(wxSmith_DialogDialog)
const long wxSmith_DialogDialog::ID_STATICTEXT1 = wxNewId();
const long wxSmith_DialogDialog::ID_BUTTON1 = wxNewId();
const long wxSmith_DialogDialog::ID_STATICLINE1 = wxNewId();
const long wxSmith_DialogDialog::ID_BUTTON2 = wxNewId();
//*)

BEGIN_EVENT_TABLE(wxSmith_DialogDialog,wxDialog)
    //(*EventTable(wxSmith_DialogDialog)
    //*)
END_EVENT_TABLE()

wxSmith_DialogDialog::wxSmith_DialogDialog(wxWindow* parent,wxWindowID id)
{
    //(*Initialize(wxSmith_DialogDialog)
    Create(parent, id, _("wxWidgets app"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("id"));
    BoxSizer1 = new wxBoxSizer(wxHORIZONTAL);
コード例 #12
0
ファイル: TrueOrFalse.cpp プロジェクト: Slulego/GD
#include "TrueOrFalse.h"

//(*InternalHeaders(TrueOrFalse)
#include <wx/artprov.h>
#include <wx/bitmap.h>
#include <wx/intl.h>
#include <wx/image.h>
#include <wx/string.h>
//*)
#include "GDCore/Tools/HelpFileAccess.h"
#include "GDCore/IDE/SkinHelper.h"

//(*IdInit(TrueOrFalse)
const long TrueOrFalse::ID_STATICBITMAP1 = wxNewId();
const long TrueOrFalse::ID_STATICTEXT1 = wxNewId();
const long TrueOrFalse::ID_STATICLINE1 = wxNewId();
const long TrueOrFalse::ID_STATICBITMAP2 = wxNewId();
const long TrueOrFalse::ID_HYPERLINKCTRL1 = wxNewId();
const long TrueOrFalse::ID_BUTTON2 = wxNewId();
const long TrueOrFalse::ID_BUTTON1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(TrueOrFalse,wxDialog)
	//(*EventTable(TrueOrFalse)
	//*)
END_EVENT_TABLE()

TrueOrFalse::TrueOrFalse(wxWindow* parent, wxString message, wxString caption)
{
	//(*Initialize(TrueOrFalse)
	wxFlexGridSizer* FlexGridSizer3;
コード例 #13
0
 * $Revision$
 * $Id$
 * $HeadURL$
 */

#include <sdk.h>
#ifndef CB_PRECOMP
    //(*InternalHeadersPCH(GenericSelectPath)
    #include <wx/string.h>
    #include <wx/intl.h>
    //*)
#endif
#include "genericselectpath.h"

//(*IdInit(GenericSelectPath)
const long GenericSelectPath::ID_STATICTEXT1 = wxNewId();
const long GenericSelectPath::ID_STATICTEXT2 = wxNewId();
const long GenericSelectPath::ID_TEXTCTRL1 = wxNewId();
const long GenericSelectPath::ID_BUTTON1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(GenericSelectPath,wxPanel)
	//(*EventTable(GenericSelectPath)
	//*)
END_EVENT_TABLE()

GenericSelectPath::GenericSelectPath(wxWindow* parent,wxWindowID id)
{
	//(*Initialize(GenericSelectPath)
	Create(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _T("id"));
	BoxSizer1 = new wxBoxSizer(wxVERTICAL);
コード例 #14
0
#elif defined(__UNIX__)
        wxbuild << _T("-Linux");
#endif

#if wxUSE_UNICODE
        wxbuild << _T("-Unicode build");
#else
        wxbuild << _T("-ANSI build");
#endif // wxUSE_UNICODE
    }

    return wxbuild;
}

//(*IdInit(VideoInputGUITesterDialog)
const long VideoInputGUITesterDialog::ID_BUTTON1 = wxNewId();
const long VideoInputGUITesterDialog::ID_STATICBOX1 = wxNewId();
const long VideoInputGUITesterDialog::ID_BUTTON2 = wxNewId();
const long VideoInputGUITesterDialog::ID_TIMER1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(VideoInputGUITesterDialog,wxDialog)
    //(*EventTable(VideoInputGUITesterDialog)
    //*)
        EVT_PAINT(VideoInputGUITesterDialog::OnPaint)
END_EVENT_TABLE()

VideoInputGUITesterDialog::VideoInputGUITesterDialog(wxWindow* parent,wxWindowID id)
{
    //(*Initialize(VideoInputGUITesterDialog)
    Create(parent, id, _("Video Input GUI Tester"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("id"));
コード例 #15
0
BubbleHardwareManager::BubbleHardwareManager(   wxWindow* parent,
                                                wxWindowID id,
                                                Bubble *const bubble,
                                                const wxString& boardName,
                                                const wxColour& colour,
                                                const wxPoint& pos,
                                                const wxSize& size,
                                                long style,
                                                const wxString& name) : BubblePanel(parent,
                                                                                    id,
                                                                                    colour,
                                                                                    true,
                                                                                    pos,
                                                                                    size,
                                                                                    style,
                                                                                    name
                                                                                   ),
                                                                        parent(parent),
                                                                        bubble(bubble),
                                                                        boardName(boardName),
                                                                        currentBoardProperties(NULL),
                                                                        lblBootPortName(NULL),
                                                                        comboBootPortName(NULL),
                                                                        lblBoardName(NULL),
                                                                        comboBoardName(NULL),
                                                                        buttonReloadBlocks(NULL),
                                                                        buttonReloadHardware(NULL),
                                                                        lblURL0(NULL),
                                                                        lblURL1(NULL),
                                                                        buttonGoToDriversDir(NULL),
                                                                        buttonMainImage(NULL),
                                                                        emptyDummyString(wxString(""))
{
    if (bubble == NULL)
        return; //Nothing to do.

    currentBoardProperties = new BubbleBoardProperties();

    //Hide();

    //##The following line crashes the application when the BubbleHardwareManager is closed by the user, so
    //##don't delete it, because it may be possibly a wxAUI's bug, and I would like to document it:
    //SetSize(400, 450);

    lblBoardName = new wxStaticText(   this,
                                        wxNewId(), //##
                                        //##Future: Make configurable by the user if he want to see these
                                        //shorcuts on screen or not:
                                        _("Hardware (Alt+W):"), //##Load shorcuts from XML.
                                        wxPoint(10, 10),
                                        wxSize(150, 20),
                                        wxALIGN_CENTRE,
                                        wxString("lblBoardName")
                                   );

    comboBoardName = new BubbleCombo(   this,
                                        wxNewId(),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectDefault.png")),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectPressed.png")),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectHover.png")),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectDisabled.png")),
                                        false,
                                        wxPoint(10, 25), //##Make this automatic.
                                        wxSize(190, 16),
                                        //wxTAB_TRAVERSAL|
                                        //wxNO_BORDER|
                                        //wxBORDER_SIMPLE|
                                        //wxBORDER_RAISED|
                                        wxBORDER_SUNKEN|
                                        wxTRANSPARENT_WINDOW,
                                        //wxDefaultSize,
                                        //##wxALIGN_CENTRE,
                                        wxString("comboBoardName")
                                    );
    if (comboBoardName)
    {
        comboBoardName->setSorted(false);
        bubble->loadHardwareTargets(this);

        boardName = "DuinoBot.v2.3 HID";
        if (boardName == wxString(""))
        {
            selectFirstBoard();
        }
        else
        {
            BubbleBoardProperties *initialBoard = NULL;
            initialBoard = &(boardsProperties.Item(0));

            //Find board:
            bool found = false;
            BubbleBoardProperties *iterator = NULL;
            for (unsigned int i = 0; i < boardsProperties.GetCount(); i++)
            {
                iterator = &(boardsProperties.Item(i)); //##In theory, this is faster than the other index based form, but I'm not sure yet...
                if (iterator)
                {
                    if (iterator->getName() == boardName)
                    {
                        initialBoard = iterator;
                        currentBoardProperties->set(iterator);
                        comboBoardName->setSelection(boardName);
                        found = true;
                    }
                }
            }
            if (!found)
            {
                selectFirstBoard();
            }
        }
        comboBoardName->Connect(wxEVT_COMMAND_TEXT_UPDATED,
                                wxCommandEventHandler(BubbleHardwareManager::onComboBoardNameChanged),
                                NULL,
                                this
                               );
    }

    lblBootPortName = new wxStaticText( this,
                                        wxNewId(),
                                        //In the future there may be IP sockets, and other comm
                                        //channels, so here it's just "Port", not "Serial port":

                                        //##Future: Make configurable by the user if he want to see these
                                        //shorcuts on screen or not:
                                        _("Port (Alt+R):"), //##Load shorcuts from XML.
                                        wxPoint(210, 10),   //##Un-hardcode!
                                        wxSize(150, 20),    //##Un-hardcode!
                                        wxALIGN_CENTRE,
                                        wxString("lblBootSerialPortName")
                                       );
    comboBootPortName = new BubbleCombo(this,
                                        wxNewId(),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectDefault.png")),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectPressed.png")),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectHover.png")),
                                        wxImage(bubble->getThemePath() + wxString("/ComboSelectDisabled.png")),
                                        false,
                                        wxPoint(210, 25),   //##Un-hardcode!
                                        wxSize(100, 16),    //##Un-hardcode!
                                        wxBORDER_SUNKEN|
                                        wxTRANSPARENT_WINDOW,
                                        wxString("comboBootSerialPortName")
                                       );
    if (comboBootPortName)
    {
        comboBootPortName->Connect( wxEVT_COMMAND_TOOL_CLICKED,
                                    wxCommandEventHandler(BubbleHardwareManager::onUpdatePorts),
                                    NULL,
                                    this
                                  );
        comboBootPortName->Connect( wxEVT_COMMAND_TEXT_UPDATED,
                                    wxCommandEventHandler(BubbleHardwareManager::onComboBootPortNameChanged),
                                    NULL,
                                    this
                                  );
        updatePorts();
        setPortType();

        if (getCurrentBoardProperties())
        {
            //This is necessary for the first time the system loads the boards:
            if ( (getCurrentBoardProperties()->getPortType() == wxString("HID")) ||
                 (getCurrentBoardProperties()->getPortType() == wxString("HID2"))
               )
            {
                setPortSelectorEnabled(false);
                setPortNameString((getCurrentBoardProperties())->getPortType());
            }
        }
//        comboBootPortName->setSelection(0); //##Un-hardcode and get the port from the config file...
//        wxString strCommRealName = wxString("//./") + comboBootPortName->getText();
//        bubble->setBootPortName(strCommRealName);
    }

    buttonReloadBlocks = new wxButton(  this,
                                        wxNewId(),
                                        _("Reload blocks"),
                                        wxPoint(10, 55), //##Un-hardcode!
                                        //wxDefaultSize,
                                        wxSize(160, 25), //##Future: The autosize (with the label) feature does now work. Make it work!
                                        wxBU_EXACTFIT
                                     ); //##

    if (buttonReloadBlocks)
    {
        buttonReloadBlocks->Connect(wxEVT_LEFT_UP,
                                    wxMouseEventHandler(BubbleHardwareManager::onButtonReloadBlocksLeftUp),
                                    NULL,
                                    this
                                   );
        //buttonReloadBlocks->Hide(); //##Testing.
//        wxMessageDialog dialog0(bubble->getParent(), bubble->getProfile(), wxString("profile")); //##Debug.
//        dialog0.ShowModal(); //##Debug.
//        buttonReloadBlocks->Show(bubble->getProfile() == wxString("developer"));
    }

    buttonReloadHardware = new wxButton(  this,
                                        wxNewId(),
                                        _("Reload hardware"),
                                        wxPoint(175, 55), //##Un-hardcode!
                                        //wxDefaultSize,
                                        wxSize(160, 25), //##Future: The autosize (with the label) feature does now work. Make it work!
                                        wxBU_EXACTFIT
                                     ); //##

    if (buttonReloadHardware)
    {
        buttonReloadHardware->Connect(wxEVT_LEFT_UP,
                                    wxMouseEventHandler(BubbleHardwareManager::onButtonButtonReloadHardwareLeftUp),
                                    NULL,
                                    this
                                   );
        //buttonReloadHardware->Show(bubble->getProfile() == wxString("developer"));
    }

    buttonGoToDriversDir = new wxButton(  this,
                                        wxNewId(),
                                        _("Open folder with drivers"),
                                        wxPoint(10, 85), //##Un-hardcode!
                                        //wxDefaultSize,
                                        wxSize(160, 25), //##Future: autosize.
                                        wxBU_EXACTFIT
                                     );
    if (buttonGoToDriversDir)
    {
        buttonGoToDriversDir->Connect(  wxEVT_LEFT_UP,
                                        wxMouseEventHandler(BubbleHardwareManager::onButtonGoToDriversDirLeftUp),
                                        NULL,
                                        this
                                     );

        if (getCurrentBoardProperties())
        {
            buttonGoToDriversDir->Enable(getCurrentBoardProperties()->getDriverPath() != wxString(""));
            lblURL0 = new wxHyperlinkCtrl(  this,
                                            wxNewId(),
                                            getCurrentBoardProperties()->getUrl0(),
                                            getCurrentBoardProperties()->getUrl0(),
                                            wxPoint(buttonGoToDriversDir->GetPosition().x,
                                                    buttonGoToDriversDir->GetPosition().y +
                                                    buttonGoToDriversDir->GetSize().GetHeight() + 10),
                                            wxDefaultSize,
                                            wxHL_ALIGN_LEFT
                                         );
            if (lblURL0)
            {
                lblURL0->SetVisitedColour(lblURL0->GetNormalColour());
                //wxHyperlinkCtrl Bug: the first time, it should be created big.
                if (buttonReloadHardware)
                {
                    lblURL0->SetSize(wxSize(buttonReloadHardware->GetPosition().x +
                                            buttonReloadHardware->GetSize().GetWidth() -
                                            buttonGoToDriversDir->GetPosition().x,
                                            lblURL0->GetSize().GetHeight()
                                           )
                                    );
                }
                lblURL1 = new wxHyperlinkCtrl(  this,
                                                wxNewId(),
                                                getCurrentBoardProperties()->getUrl1(),
                                                getCurrentBoardProperties()->getUrl1(),
                                                wxPoint(lblURL0->GetPosition().x,
                                                        lblURL0->GetPosition().y +
                                                        lblURL0->GetSize().GetHeight() + 10),
                                                wxDefaultSize,
                                                wxHL_ALIGN_LEFT
                                             );
                if (lblURL1)
                {
                    lblURL1->SetVisitedColour(lblURL1->GetNormalColour());
                    if (lblURL0)
                        lblURL1->SetSize(lblURL0->GetSize());
                }
            }
        }
    }

    buttonMainImage = new BubbleButton( this,
                                        wxNewId(),
                                        wxPoint(0, 0),  //##Un-hardcode!
                                        wxSize(32, 32)  //##Un-hardcode!
                                      );
    //##buttonIcon->SetValidator(wxDefaultValidator);

    changeImage();

    //SetBackgroundColour(colour);
    SetBackgroundColourAndRefresh(colour);
}
コード例 #16
0
ファイル: BuildProgressPnl.cpp プロジェクト: cubemoon/GD
 */

#include "BuildProgressPnl.h"

//(*InternalHeaders(BuildProgressPnl)
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)
#include <wx/process.h>
#include <wx/txtstrm.h>
#include "GDCore/CommonTools.h"
#include "GDCpp/IDE/CodeCompiler.h"

//(*IdInit(BuildProgressPnl)
const long BuildProgressPnl::ID_STATICTEXT1 = wxNewId();
const long BuildProgressPnl::ID_GAUGE1 = wxNewId();
const long BuildProgressPnl::ID_TEXTCTRL1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(BuildProgressPnl,wxPanel)
	//(*EventTable(BuildProgressPnl)
	//*)
	EVT_COMMAND(wxID_ANY, CodeCompiler::refreshEventType, BuildProgressPnl::OnMustRefresh)
END_EVENT_TABLE()

BuildProgressPnl::BuildProgressPnl(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size) :
clearOnNextTextAdding(true)
{
	//(*Initialize(BuildProgressPnl)
	wxFlexGridSizer* FlexGridSizer1;
コード例 #17
0
#include "LMS7002_MainControl.h"
#include <wx/filedlg.h>
#include "CoefficientFileParser.h"
#include <wx/msgdlg.h>

//(*InternalHeaders(dlgGFIR_Coefficients)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/spinctrl.h>
#include <wx/grid.h>
#include <wx/button.h>
#include <wx/string.h>
//*)

//(*IdInit(dlgGFIR_Coefficients)
const long dlgGFIR_Coefficients::ID_STATICTEXT1 = wxNewId();
const long dlgGFIR_Coefficients::ID_STATICTEXT2 = wxNewId();
const long dlgGFIR_Coefficients::ID_BUTTON1 = wxNewId();
const long dlgGFIR_Coefficients::ID_BUTTON2 = wxNewId();
const long dlgGFIR_Coefficients::ID_BUTTON3 = wxNewId();
const long dlgGFIR_Coefficients::ID_STATICTEXT3 = wxNewId();
const long dlgGFIR_Coefficients::ID_SPINCTRL1 = wxNewId();
const long dlgGFIR_Coefficients::ID_GRID1 = wxNewId();
const long dlgGFIR_Coefficients::ID_BUTTON4 = wxNewId();
const long dlgGFIR_Coefficients::ID_BUTTON5 = wxNewId();
//*)

BEGIN_EVENT_TABLE(dlgGFIR_Coefficients,wxDialog)
	//(*EventTable(dlgGFIR_Coefficients)
	//*)
END_EVENT_TABLE()
コード例 #18
0
//(*InternalHeaders(HeadersDetectorDlg)
#include <wx/gauge.h>
#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/string.h>
#include <wx/intl.h>
#include <wx/stattext.h>
//*)

#include <encodingdetector.h>
#include "headersdetectordlg.h"

//(*IdInit(HeadersDetectorDlg)
const long HeadersDetectorDlg::ID_STATICTEXT1 = wxNewId();
const long HeadersDetectorDlg::ID_STATICTEXT3 = wxNewId();
const long HeadersDetectorDlg::ID_STATICTEXT2 = wxNewId();
const long HeadersDetectorDlg::ID_STATICTEXT4 = wxNewId();
const long HeadersDetectorDlg::ID_GAUGE1 = wxNewId();
const long HeadersDetectorDlg::ID_TIMER1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(HeadersDetectorDlg,wxScrollingDialog)
	//(*EventTable(HeadersDetectorDlg)
	//*)
	EVT_BUTTON(wxID_CANCEL,HeadersDetectorDlg::Cancel)
END_EVENT_TABLE()

HeadersDetectorDlg::HeadersDetectorDlg(wxWindow* parent,cbProject* project,wxArrayString& headers)
    : m_Project(project)
    , m_Headers(headers)
コード例 #19
0
#include "SeqElementMismatchDialog.h"

//(*InternalHeaders(SeqElementMismatchDialog)
#include <wx/intl.h>
#include <wx/button.h>
#include <wx/string.h>
//*)

//(*IdInit(SeqElementMismatchDialog)
const long SeqElementMismatchDialog::ID_STATICTEXT1 = wxNewId();
const long SeqElementMismatchDialog::ID_RADIOBUTTON2 = wxNewId();
const long SeqElementMismatchDialog::ID_RADIOBUTTON3 = wxNewId();
const long SeqElementMismatchDialog::ID_CHOICE1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(SeqElementMismatchDialog,wxDialog)
    //(*EventTable(SeqElementMismatchDialog)
    //*)
END_EVENT_TABLE()

SeqElementMismatchDialog::SeqElementMismatchDialog(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)
{
    //(*Initialize(SeqElementMismatchDialog)
    wxStaticText* StaticText1;
    wxFlexGridSizer* FlexGridSizer1;
    wxStdDialogButtonSizer* StdDialogButtonSizer1;

    Create(parent, id, _("Sequence Element Mismatch"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("id"));
    SetClientSize(wxDefaultSize);
    Move(wxDefaultPosition);
    FlexGridSizer1 = new wxFlexGridSizer(0, 1, 0, 0);
コード例 #20
0
   |                                                                           |
   | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file        |
   | See: http://www.mrpt.org/Authors - All rights reserved.                   |
   | Released under BSD License. See details in http://www.mrpt.org/License    |
   +---------------------------------------------------------------------------+ */
#include "CPanelCameraSelection.h"

//(*InternalHeaders(CPanelCameraSelection)
#include <wx/settings.h>
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(CPanelCameraSelection)
const long CPanelCameraSelection::ID_STATICTEXT1 = wxNewId();
const long CPanelCameraSelection::ID_SPINCTRL1 = wxNewId();
const long CPanelCameraSelection::ID_STATICTEXT3 = wxNewId();
const long CPanelCameraSelection::ID_CHOICE1 = wxNewId();
const long CPanelCameraSelection::ID_STATICTEXT6 = wxNewId();
const long CPanelCameraSelection::ID_CHOICE2 = wxNewId();
const long CPanelCameraSelection::ID_PANEL2 = wxNewId();
const long CPanelCameraSelection::ID_STATICTEXT7 = wxNewId();
const long CPanelCameraSelection::ID_TEXTCTRL1 = wxNewId();
const long CPanelCameraSelection::ID_PANEL3 = wxNewId();
const long CPanelCameraSelection::ID_TEXTCTRL6 = wxNewId();
const long CPanelCameraSelection::ID_PANEL4 = wxNewId();
const long CPanelCameraSelection::ID_STATICTEXT8 = wxNewId();
const long CPanelCameraSelection::ID_TEXTCTRL2 = wxNewId();
const long CPanelCameraSelection::ID_BUTTON7 = wxNewId();
const long CPanelCameraSelection::ID_PANEL5 = wxNewId();
コード例 #21
0
#include "configsettingspanel.h"

//(*InternalHeaders(ConfigSettingsPanel)
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(ConfigSettingsPanel)
const long ConfigSettingsPanel::ID_NOTEBOOKCONFIGPANELS = wxNewId();
//*)

BEGIN_EVENT_TABLE(ConfigSettingsPanel,wxPanel)
	//(*EventTable(ConfigSettingsPanel)
	//*)
END_EVENT_TABLE()

ConfigSettingsPanel::ConfigSettingsPanel(wxWindow* parent)
{
	//(*Initialize(ConfigSettingsPanel)
	Create(parent, wxID_ANY, wxDefaultPosition, wxSize(531,310), wxTAB_TRAVERSAL, _T("wxID_ANY"));
	SetMaxSize(wxSize(-1,-1));
	NotebookConfigPanels = new wxNotebook(this, ID_NOTEBOOKCONFIGPANELS, wxPoint(0,0), wxSize(448,416), 0, _T("ID_NOTEBOOKCONFIGPANELS"));
	//*)
}

ConfigSettingsPanel::~ConfigSettingsPanel()
{
	//(*Destroy(ConfigSettingsPanel)
	//*)
}
コード例 #22
0
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
*
* $Revision$
* $Id$
* $HeadURL$
*/

#include "wxssizerparentqp.h"

//(*InternalHeaders(wxsSizerParentQP)
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(wxsSizerParentQP)
const long wxsSizerParentQP::ID_CHECKBOX1 = wxNewId();
const long wxsSizerParentQP::ID_CHECKBOX2 = wxNewId();
const long wxsSizerParentQP::ID_CHECKBOX8 = wxNewId();
const long wxsSizerParentQP::ID_CHECKBOX3 = wxNewId();
const long wxsSizerParentQP::ID_CHECKBOX4 = wxNewId();
const long wxsSizerParentQP::ID_SPINCTRL1 = wxNewId();
const long wxsSizerParentQP::ID_CHECKBOX7 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON4 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON5 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON6 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON7 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON8 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON9 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON10 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON11 = wxNewId();
const long wxsSizerParentQP::ID_RADIOBUTTON12 = wxNewId();
コード例 #23
0
ファイル: openocd.cpp プロジェクト: BackupTheBerlios/cbmcu
#include <projectmanager.h>
#include <pluginmanager.h>
#include <projectbuildtarget.h>
#include <cbproject.h>
#include <compilerfactory.h>

#include <wx/app.h>

#include "telnetclient.h"
#include "openocd.h"
#include "mcupluginmanager.h"
#include "openocdconfig.h"
#include "openocdset.h"
#include "openocddevs.h"

int idProcess = wxNewId();
int idTimer = wxNewId();

BEGIN_EVENT_TABLE(OpenOCDDriver, GDBRemoteTargetDriver)

    EVT_PIPEDPROCESS_STDOUT(idProcess, OpenOCDDriver::OnProcOutput)
    EVT_PIPEDPROCESS_STDERR(idProcess, OpenOCDDriver::OnProcError)
    EVT_PIPEDPROCESS_TERMINATED(idProcess, OpenOCDDriver::OnProcTerminated)
    EVT_TIMER(idTimer, OpenOCDDriver::OnTimer)

END_EVENT_TABLE()

/*!
    \brief Constructor. Initialise log window(s), timer and config manager.
*/
OpenOCDDriver::OpenOCDDriver() :
コード例 #24
0
ファイル: CIniEditor.cpp プロジェクト: Aharobot/mrpt
   | See: http://www.mrpt.org/Authors - All rights reserved.                   |
   | Released under BSD License. See details in http://www.mrpt.org/License    |
   +---------------------------------------------------------------------------+ */

#include "prrtnavdemoMain.h"
#include "CIniEditor.h"

//(*InternalHeaders(CIniEditor)
#include <wx/settings.h>
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(CIniEditor)
const long CIniEditor::ID_BUTTON1 = wxNewId();
const long CIniEditor::ID_BUTTON2 = wxNewId();
const long CIniEditor::ID_TEXTCTRL1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(CIniEditor,wxDialog)
	//(*EventTable(CIniEditor)
	//*)
END_EVENT_TABLE()

CIniEditor::CIniEditor(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)
{
	//(*Initialize(CIniEditor)
	wxFlexGridSizer* FlexGridSizer2;
	wxFlexGridSizer* FlexGridSizer1;
コード例 #25
0
//(*InternalHeaders(SubModelsDialog)
#include <wx/notebook.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/checkbox.h>
#include <wx/panel.h>
#include <wx/grid.h>
#include <wx/choice.h>
#include <wx/intl.h>
#include <wx/button.h>
#include <wx/string.h>
//*)


//(*IdInit(SubModelsDialog)
const long SubModelsDialog::ID_STATICTEXT1 = wxNewId();
const long SubModelsDialog::ID_CHOICE3 = wxNewId();
const long SubModelsDialog::ID_BUTTON3 = wxNewId();
const long SubModelsDialog::ID_BUTTON4 = wxNewId();
const long SubModelsDialog::ID_CHECKBOX1 = wxNewId();
const long SubModelsDialog::ID_GRID1 = wxNewId();
const long SubModelsDialog::ID_BUTTON1 = wxNewId();
const long SubModelsDialog::ID_BUTTON2 = wxNewId();
const long SubModelsDialog::ID_PANEL2 = wxNewId();
const long SubModelsDialog::ID_PANEL3 = wxNewId();
const long SubModelsDialog::ID_NOTEBOOK1 = wxNewId();
const long SubModelsDialog::ID_PANEL1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(SubModelsDialog,wxDialog)
	//(*EventTable(SubModelsDialog)
コード例 #26
0
ファイル: NetworkBehaviorEditor.cpp プロジェクト: HaoDrang/GD
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
#include "NetworkBehaviorEditor.h"

//(*InternalHeaders(NetworkBehaviorEditor)
#include <wx/intl.h>
#include <wx/string.h>
//*)
#include "GDCpp/Runtime/Project/Project.h"
#include "NetworkBehavior.h"
#include "GDCore/IDE/Dialogs/MainFrameWrapper.h"
#include "GDCpp/Runtime/CommonTools.h"
#include "GDCpp/Runtime/Project/Layout.h"

//(*IdInit(NetworkBehaviorEditor)
const long NetworkBehaviorEditor::ID_RADIOBOX1 = wxNewId();
const long NetworkBehaviorEditor::ID_STATICTEXT1 = wxNewId();
const long NetworkBehaviorEditor::ID_CHECKBOX1 = wxNewId();
const long NetworkBehaviorEditor::ID_CHECKBOX2 = wxNewId();
const long NetworkBehaviorEditor::ID_CHECKBOX3 = wxNewId();
const long NetworkBehaviorEditor::ID_CHECKBOX4 = wxNewId();
const long NetworkBehaviorEditor::ID_CHECKBOX5 = wxNewId();
const long NetworkBehaviorEditor::ID_TEXTCTRL1 = wxNewId();
const long NetworkBehaviorEditor::ID_STATICTEXT2 = wxNewId();
const long NetworkBehaviorEditor::ID_STATICTEXT3 = wxNewId();
const long NetworkBehaviorEditor::ID_BUTTON1 = wxNewId();
const long NetworkBehaviorEditor::ID_BUTTON2 = wxNewId();
//*)

BEGIN_EVENT_TABLE(NetworkBehaviorEditor,wxDialog)
	//(*EventTable(NetworkBehaviorEditor)
コード例 #27
0
ファイル: pnlWFMLoader.cpp プロジェクト: limemicro/lms6suite
#include <wx/button.h>
#include <wx/image.h>
#include <wx/string.h>
#include <wx/gauge.h>
#include <wx/tglbtn.h>
//*)

#include <vector>
#include "ConnectionManager.h"
#include <fstream>
#include <wx/ffile.h>
#include <wx/dir.h>
#include <wx/filename.h>
#include "fft/iniParser.h"
//(*IdInit(pnlWFMLoader)
const long pnlWFMLoader::ID_BUTTON6 = wxNewId();
const long pnlWFMLoader::ID_BUTTON7 = wxNewId();
const long pnlWFMLoader::ID_BUTTON8 = wxNewId();
const long pnlWFMLoader::ID_BITMAPBUTTON1 = wxNewId();
const long pnlWFMLoader::ID_STATICTEXT2 = wxNewId();
const long pnlWFMLoader::ID_STATICTEXT5 = wxNewId();
const long pnlWFMLoader::ID_GAUGE1 = wxNewId();
const long pnlWFMLoader::ID_BUTTON3 = wxNewId();
const long pnlWFMLoader::ID_BUTTON4 = wxNewId();
//*)
const long pnlWFMLoader::ID_STREAMING_TIMER = wxNewId();

BEGIN_EVENT_TABLE(pnlWFMLoader, wxPanel)
//(*EventTable(pnlWFMLoader)
//*)
END_EVENT_TABLE()
コード例 #28
0
ファイル: EditorScene.cpp プロジェクト: trinajstica/GD
#include "GDCore/IDE/Dialogs/MainFrameWrapper.h"
#include "GDCore/IDE/wxTools/SkinHelper.h"
#include "GDCore/Tools/HelpFileAccess.h"
#include "GDCore/IDE/Dialogs/LayoutEditorCanvas/LayoutEditorCanvas.h"
#include "MainFrame.h"
#include "Dialogs/ObjectsEditor.h"
#include "InitialPositionBrowserDlg.h"
#include "EventsEditor.h"
#include "Dialogs/LayersEditorPanel.h"
#include "Dialogs/LayoutEditorPropertiesPnl.h"

#include "GDCore/Project/Project.h"
#include "GDCore/Project/Project.h"

//(*IdInit(EditorScene)
const long EditorScene::ID_SCROLLBAR3 = wxNewId();
const long EditorScene::ID_SCROLLBAR4 = wxNewId();
const long EditorScene::ID_CUSTOM3 = wxNewId();
const long EditorScene::ID_PANEL1 = wxNewId();
const long EditorScene::ID_CUSTOM2 = wxNewId();
const long EditorScene::ID_PANEL6 = wxNewId();
const long EditorScene::ID_AUINOTEBOOK1 = wxNewId();
//*)


BEGIN_EVENT_TABLE(EditorScene,wxPanel)
	//(*EventTable(EditorScene)
	//*)
END_EVENT_TABLE()

EditorScene::EditorScene(wxWindow* parent, gd::Project & project_, gd::Layout & layout_, const gd::MainFrameWrapper & mainFrameWrapper_) :
コード例 #29
0
ファイル: ObjectInfo.cpp プロジェクト: jizecn/srs_ui_pro
#include "ObjectInfo.h"

//(*InternalHeaders(ObjectInfo)
#include <wx/string.h>
#include <wx/intl.h>
//*)

//(*IdInit(ObjectInfo)
const long ObjectInfo::ID_STATICTEXT1 = wxNewId();
const long ObjectInfo::ID_STATICTEXT2 = wxNewId();
const long ObjectInfo::ID_STATICTEXT3 = wxNewId();
const long ObjectInfo::ID_STATICTEXT15 = wxNewId();
const long ObjectInfo::ID_STATICTEXT4 = wxNewId();
const long ObjectInfo::ID_STATICTEXT16 = wxNewId();
const long ObjectInfo::ID_STATICTEXT5 = wxNewId();
const long ObjectInfo::ID_TEXTCTRL1 = wxNewId();
const long ObjectInfo::ID_TEXTCTRL11 = wxNewId();
const long ObjectInfo::ID_TEXTCTRL4 = wxNewId();
const long ObjectInfo::ID_STATICTEXT17 = wxNewId();
const long ObjectInfo::ID_STATICTEXT9 = wxNewId();
const long ObjectInfo::ID_STATICTEXT20 = wxNewId();
const long ObjectInfo::ID_STATICTEXT6 = wxNewId();
const long ObjectInfo::ID_STATICTEXT18 = wxNewId();
const long ObjectInfo::ID_STATICTEXT10 = wxNewId();
const long ObjectInfo::ID_STATICTEXT21 = wxNewId();
const long ObjectInfo::ID_STATICTEXT7 = wxNewId();
const long ObjectInfo::ID_STATICTEXT19 = wxNewId();
const long ObjectInfo::ID_STATICTEXT11 = wxNewId();
const long ObjectInfo::ID_STATICTEXT22 = wxNewId();
const long ObjectInfo::ID_STATICTEXT8 = wxNewId();
const long ObjectInfo::ID_TEXTCTRL13 = wxNewId();
コード例 #30
0
#include "wx_pch.h"
#include "TimelineOverlayDialog.h"

#ifndef WX_PRECOMP
	//(*InternalHeadersPCH(TimelineOverlayDialog)
	#include <wx/intl.h>
	#include <wx/string.h>
	//*)
#endif
//(*InternalHeaders(TimelineOverlayDialog)
//*)

//(*IdInit(TimelineOverlayDialog)
const long TimelineOverlayDialog::ID_SPINCTRLPRIORITY = wxNewId();
const long TimelineOverlayDialog::ID_TEXTCTRLPRIORITY = wxNewId();
const long TimelineOverlayDialog::ID_LISTBOXTYPE = wxNewId();
const long TimelineOverlayDialog::ID_TEXTCTRLOVERLAYTYPE = wxNewId();
const long TimelineOverlayDialog::ID_BUTTONOK = wxNewId();
const long TimelineOverlayDialog::ID_BUTTONCANCEL = wxNewId();
//*)

BEGIN_EVENT_TABLE(TimelineOverlayDialog,wxDialog)
	//(*EventTable(TimelineOverlayDialog)
	//*)
END_EVENT_TABLE()

TimelineOverlayDialog::TimelineOverlayDialog(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)
{
	//(*Initialize(TimelineOverlayDialog)
	wxStaticBoxSizer* StaticBoxSizer2;
	wxBoxSizer* BoxSizer2;