⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wxscombobox.h

📁 非常好用的可移植的多平台C/C++源代码编辑器
💻 H
字号:
#ifndef __WXSCOMBOBOX_H
#define __WXSCOMBOBOX_H

#include "../wxsdefwidget.h"
#include "wxsstdmanager.h"

WXS_ST_DECLARE(wxsComboBoxStyles)
WXS_EV_DECLARE(wxsComboBoxEvents)

/******************************************************************************/
/* There's bug in wx 2.6.1 - wxComboBox is not derived from wxControlWithItems*/
/* when compiling on GTK. Because of that, wxsComboBox must be threated       */
/* especially                                                                 */
/******************************************************************************/

wxsDWDeclareBegin(wxsComboBoxBase,propWidget,wxsComboBoxId)

  // for default constructor
    //int n;  // Number of strings with which to initialise the control
    //wxString choices[3]; //An array of strings with which to initialise the control
  // for constructor 2
    wxArrayString arrayChoices;
    int defaultChoice;

wxsDWDeclareEnd()

class wxsComboBox: public wxsComboBoxBase
{
    public:
        wxsComboBox(wxsWidgetManager* Man,wxsWindowRes* Res):
            wxsComboBoxBase(Man,Res)
        {}

    protected:

        virtual wxWindow* MyCreatePreview(wxWindow* Parent);
        virtual wxString GetProducingCode(wxsCodeParams& Params);

};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -