2009-09-16 08:06:02 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/ribbon/bar.h
|
|
|
|
// Purpose: Top-level component of the ribbon-bar-style interface
|
|
|
|
// Author: Peter Cawley
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2009-05-23
|
|
|
|
// Copyright: (C) Peter Cawley
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_RIBBON_BAR_H_
|
|
|
|
#define _WX_RIBBON_BAR_H_
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_RIBBON
|
|
|
|
|
|
|
|
#include "wx/ribbon/control.h"
|
|
|
|
#include "wx/ribbon/page.h"
|
|
|
|
|
|
|
|
enum wxRibbonBarOption
|
|
|
|
{
|
|
|
|
wxRIBBON_BAR_SHOW_PAGE_LABELS = 1 << 0,
|
|
|
|
wxRIBBON_BAR_SHOW_PAGE_ICONS = 1 << 1,
|
|
|
|
wxRIBBON_BAR_FLOW_HORIZONTAL = 0,
|
|
|
|
wxRIBBON_BAR_FLOW_VERTICAL = 1 << 2,
|
|
|
|
wxRIBBON_BAR_SHOW_PANEL_EXT_BUTTONS = 1 << 3,
|
|
|
|
wxRIBBON_BAR_SHOW_PANEL_MINIMISE_BUTTONS = 1 << 4,
|
|
|
|
wxRIBBON_BAR_ALWAYS_SHOW_TABS = 1 << 5,
|
2012-07-30 13:53:36 -04:00
|
|
|
wxRIBBON_BAR_SHOW_TOGGLE_BUTTON = 1 << 6,
|
2012-09-15 19:19:59 -04:00
|
|
|
wxRIBBON_BAR_SHOW_HELP_BUTTON = 1 << 7,
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
wxRIBBON_BAR_DEFAULT_STYLE = wxRIBBON_BAR_FLOW_HORIZONTAL
|
|
|
|
| wxRIBBON_BAR_SHOW_PAGE_LABELS
|
2012-07-30 13:53:36 -04:00
|
|
|
| wxRIBBON_BAR_SHOW_PANEL_EXT_BUTTONS
|
2012-09-15 19:19:59 -04:00
|
|
|
| wxRIBBON_BAR_SHOW_TOGGLE_BUTTON
|
|
|
|
| wxRIBBON_BAR_SHOW_HELP_BUTTON,
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
wxRIBBON_BAR_FOLDBAR_STYLE = wxRIBBON_BAR_FLOW_VERTICAL
|
|
|
|
| wxRIBBON_BAR_SHOW_PAGE_ICONS
|
|
|
|
| wxRIBBON_BAR_SHOW_PANEL_EXT_BUTTONS
|
2011-10-27 17:10:30 -04:00
|
|
|
| wxRIBBON_BAR_SHOW_PANEL_MINIMISE_BUTTONS
|
2009-09-16 08:06:02 -04:00
|
|
|
};
|
|
|
|
|
2012-09-15 19:19:59 -04:00
|
|
|
enum wxRibbonDisplayMode
|
|
|
|
{
|
|
|
|
wxRIBBON_BAR_PINNED,
|
|
|
|
wxRIBBON_BAR_MINIMIZED,
|
|
|
|
wxRIBBON_BAR_EXPANDED
|
|
|
|
};
|
|
|
|
|
2009-09-16 08:06:02 -04:00
|
|
|
class WXDLLIMPEXP_RIBBON wxRibbonBarEvent : public wxNotifyEvent
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxRibbonBarEvent(wxEventType command_type = wxEVT_NULL,
|
|
|
|
int win_id = 0,
|
|
|
|
wxRibbonPage* page = NULL)
|
|
|
|
: wxNotifyEvent(command_type, win_id)
|
|
|
|
, m_page(page)
|
|
|
|
{
|
|
|
|
}
|
2014-03-29 20:02:23 -04:00
|
|
|
wxEvent *Clone() const wxOVERRIDE { return new wxRibbonBarEvent(*this); }
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
wxRibbonPage* GetPage() {return m_page;}
|
|
|
|
void SetPage(wxRibbonPage* page) {m_page = page;}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxRibbonPage* m_page;
|
|
|
|
|
|
|
|
#ifndef SWIG
|
|
|
|
private:
|
2015-04-23 07:49:01 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxRibbonBarEvent);
|
2009-09-16 08:06:02 -04:00
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_RIBBON wxRibbonPageTabInfo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxRect rect;
|
|
|
|
wxRibbonPage *page;
|
|
|
|
int ideal_width;
|
|
|
|
int small_begin_need_separator_width;
|
|
|
|
int small_must_have_separator_width;
|
|
|
|
int minimum_width;
|
|
|
|
bool active;
|
|
|
|
bool hovered;
|
2012-08-15 19:34:36 -04:00
|
|
|
bool highlight;
|
2012-07-13 07:46:43 -04:00
|
|
|
bool shown;
|
2009-09-16 08:06:02 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#ifndef SWIG
|
|
|
|
WX_DECLARE_USER_EXPORTED_OBJARRAY(wxRibbonPageTabInfo, wxRibbonPageTabInfoArray, WXDLLIMPEXP_RIBBON);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_RIBBON wxRibbonBar : public wxRibbonControl
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxRibbonBar();
|
|
|
|
|
|
|
|
wxRibbonBar(wxWindow* parent,
|
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxRIBBON_BAR_DEFAULT_STYLE);
|
|
|
|
|
|
|
|
virtual ~wxRibbonBar();
|
|
|
|
|
|
|
|
bool Create(wxWindow* parent,
|
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxRIBBON_BAR_DEFAULT_STYLE);
|
|
|
|
|
|
|
|
void SetTabCtrlMargins(int left, int right);
|
|
|
|
|
2014-03-29 20:02:23 -04:00
|
|
|
void SetArtProvider(wxRibbonArtProvider* art) wxOVERRIDE;
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
bool SetActivePage(size_t page);
|
|
|
|
bool SetActivePage(wxRibbonPage* page);
|
|
|
|
int GetActivePage() const;
|
|
|
|
wxRibbonPage* GetPage(int n);
|
2012-06-30 12:33:18 -04:00
|
|
|
size_t GetPageCount() const;
|
2009-09-16 08:06:02 -04:00
|
|
|
bool DismissExpandedPanel();
|
2012-07-13 07:46:43 -04:00
|
|
|
int GetPageNumber(wxRibbonPage* page) const;
|
2009-09-16 08:06:02 -04:00
|
|
|
|
2012-06-30 12:33:18 -04:00
|
|
|
void DeletePage(size_t n);
|
|
|
|
void ClearPages();
|
|
|
|
|
2012-07-13 07:46:43 -04:00
|
|
|
bool IsPageShown(size_t page) const;
|
|
|
|
void ShowPage(size_t page, bool show = true);
|
|
|
|
void HidePage(size_t page) { ShowPage(page, false); }
|
|
|
|
|
2012-08-15 19:34:36 -04:00
|
|
|
bool IsPageHighlighted(size_t page) const;
|
|
|
|
void AddPageHighlight(size_t page, bool highlight = true);
|
|
|
|
void RemovePageHighlight(size_t page) { AddPageHighlight(page, false); }
|
|
|
|
|
2014-04-04 11:28:51 -04:00
|
|
|
void ShowPanels(wxRibbonDisplayMode mode);
|
2011-01-06 17:02:07 -05:00
|
|
|
void ShowPanels(bool show = true);
|
2014-04-04 11:28:51 -04:00
|
|
|
void HidePanels() { ShowPanels(wxRIBBON_BAR_MINIMIZED); }
|
2011-01-06 17:02:07 -05:00
|
|
|
bool ArePanelsShown() const { return m_arePanelsShown; }
|
2014-04-04 11:28:51 -04:00
|
|
|
wxRibbonDisplayMode GetDisplayMode() const { return m_ribbon_state; }
|
2011-01-06 17:02:07 -05:00
|
|
|
|
2014-03-29 20:02:23 -04:00
|
|
|
virtual bool HasMultiplePages() const wxOVERRIDE { return true; }
|
2009-09-16 08:06:02 -04:00
|
|
|
|
2014-03-29 20:02:23 -04:00
|
|
|
void SetWindowStyleFlag(long style) wxOVERRIDE;
|
|
|
|
long GetWindowStyleFlag() const wxOVERRIDE;
|
|
|
|
virtual bool Realize() wxOVERRIDE;
|
2009-09-16 08:06:02 -04:00
|
|
|
|
2012-07-30 13:53:36 -04:00
|
|
|
// Implementation only.
|
|
|
|
bool IsToggleButtonHovered() const { return m_toggle_button_hovered; }
|
2012-09-15 19:19:59 -04:00
|
|
|
bool IsHelpButtonHovered() const { return m_help_button_hovered; }
|
|
|
|
|
|
|
|
void HideIfExpanded();
|
2012-07-30 13:53:36 -04:00
|
|
|
|
2009-09-16 08:06:02 -04:00
|
|
|
protected:
|
|
|
|
friend class wxRibbonPage;
|
|
|
|
|
2014-03-29 20:02:23 -04:00
|
|
|
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
|
|
|
wxBorder GetDefaultBorder() const wxOVERRIDE { return wxBORDER_NONE; }
|
2009-09-16 08:06:02 -04:00
|
|
|
wxRibbonPageTabInfo* HitTestTabs(wxPoint position, int* index = NULL);
|
2012-09-15 19:19:59 -04:00
|
|
|
void HitTestRibbonButton(const wxRect& rect, const wxPoint& position, bool &hover_flag);
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
void CommonInit(long style);
|
|
|
|
void AddPage(wxRibbonPage *page);
|
|
|
|
void RecalculateTabSizes();
|
|
|
|
void RecalculateMinSize();
|
|
|
|
void ScrollTabBar(int npixels);
|
|
|
|
void RefreshTabBar();
|
|
|
|
void RepositionPage(wxRibbonPage *page);
|
|
|
|
|
|
|
|
void OnPaint(wxPaintEvent& evt);
|
|
|
|
void OnEraseBackground(wxEraseEvent& evt);
|
|
|
|
void DoEraseBackground(wxDC& dc);
|
|
|
|
void OnSize(wxSizeEvent& evt);
|
|
|
|
void OnMouseLeftDown(wxMouseEvent& evt);
|
|
|
|
void OnMouseLeftUp(wxMouseEvent& evt);
|
|
|
|
void OnMouseMiddleDown(wxMouseEvent& evt);
|
|
|
|
void OnMouseMiddleUp(wxMouseEvent& evt);
|
|
|
|
void OnMouseRightDown(wxMouseEvent& evt);
|
|
|
|
void OnMouseRightUp(wxMouseEvent& evt);
|
|
|
|
void OnMouseMove(wxMouseEvent& evt);
|
|
|
|
void OnMouseLeave(wxMouseEvent& evt);
|
2010-09-29 09:46:35 -04:00
|
|
|
void OnMouseDoubleClick(wxMouseEvent& evt);
|
2009-09-16 08:06:02 -04:00
|
|
|
void DoMouseButtonCommon(wxMouseEvent& evt, wxEventType tab_event_type);
|
2012-09-15 19:19:59 -04:00
|
|
|
void OnKillFocus(wxFocusEvent& evt);
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
wxRibbonPageTabInfoArray m_pages;
|
|
|
|
wxRect m_tab_scroll_left_button_rect;
|
|
|
|
wxRect m_tab_scroll_right_button_rect;
|
2012-07-30 13:53:36 -04:00
|
|
|
wxRect m_toggle_button_rect;
|
2012-09-15 19:19:59 -04:00
|
|
|
wxRect m_help_button_rect;
|
2009-09-16 08:06:02 -04:00
|
|
|
long m_flags;
|
|
|
|
int m_tabs_total_width_ideal;
|
|
|
|
int m_tabs_total_width_minimum;
|
|
|
|
int m_tab_margin_left;
|
|
|
|
int m_tab_margin_right;
|
|
|
|
int m_tab_height;
|
|
|
|
int m_tab_scroll_amount;
|
|
|
|
int m_current_page;
|
|
|
|
int m_current_hovered_page;
|
|
|
|
int m_tab_scroll_left_button_state;
|
|
|
|
int m_tab_scroll_right_button_state;
|
|
|
|
bool m_tab_scroll_buttons_shown;
|
2011-01-06 17:02:07 -05:00
|
|
|
bool m_arePanelsShown;
|
2012-07-30 13:53:36 -04:00
|
|
|
bool m_bar_hovered;
|
|
|
|
bool m_toggle_button_hovered;
|
2012-09-15 19:19:59 -04:00
|
|
|
bool m_help_button_hovered;
|
|
|
|
|
|
|
|
wxRibbonDisplayMode m_ribbon_state;
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
#ifndef SWIG
|
2015-04-23 07:49:01 -04:00
|
|
|
wxDECLARE_CLASS(wxRibbonBar);
|
|
|
|
wxDECLARE_EVENT_TABLE();
|
2009-09-16 08:06:02 -04:00
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifndef SWIG
|
|
|
|
|
2013-04-25 06:11:03 -04:00
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_PAGE_CHANGED, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_PAGE_CHANGING, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_TAB_MIDDLE_DOWN, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_TAB_MIDDLE_UP, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_TAB_RIGHT_DOWN, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_TAB_RIGHT_UP, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_TAB_LEFT_DCLICK, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_TOGGLED, wxRibbonBarEvent);
|
|
|
|
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_RIBBON, wxEVT_RIBBONBAR_HELP_CLICK, wxRibbonBarEvent);
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
typedef void (wxEvtHandler::*wxRibbonBarEventFunction)(wxRibbonBarEvent&);
|
|
|
|
|
|
|
|
#define wxRibbonBarEventHandler(func) \
|
|
|
|
wxEVENT_HANDLER_CAST(wxRibbonBarEventFunction, func)
|
|
|
|
|
|
|
|
#define EVT_RIBBONBAR_PAGE_CHANGED(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_PAGE_CHANGED, winid, wxRibbonBarEventHandler(fn))
|
2009-09-16 08:06:02 -04:00
|
|
|
#define EVT_RIBBONBAR_PAGE_CHANGING(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_PAGE_CHANGING, winid, wxRibbonBarEventHandler(fn))
|
2009-09-16 08:06:02 -04:00
|
|
|
#define EVT_RIBBONBAR_TAB_MIDDLE_DOWN(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_TAB_MIDDLE_DOWN, winid, wxRibbonBarEventHandler(fn))
|
2009-09-16 08:06:02 -04:00
|
|
|
#define EVT_RIBBONBAR_TAB_MIDDLE_UP(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_TAB_MIDDLE_UP, winid, wxRibbonBarEventHandler(fn))
|
2009-09-16 08:06:02 -04:00
|
|
|
#define EVT_RIBBONBAR_TAB_RIGHT_DOWN(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_TAB_RIGHT_DOWN, winid, wxRibbonBarEventHandler(fn))
|
2009-09-16 08:06:02 -04:00
|
|
|
#define EVT_RIBBONBAR_TAB_RIGHT_UP(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_TAB_RIGHT_UP, winid, wxRibbonBarEventHandler(fn))
|
2010-09-29 09:46:35 -04:00
|
|
|
#define EVT_RIBBONBAR_TAB_LEFT_DCLICK(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_TAB_LEFT_DCLICK, winid, wxRibbonBarEventHandler(fn))
|
2012-07-30 13:53:36 -04:00
|
|
|
#define EVT_RIBBONBAR_TOGGLED(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_TOGGLED, winid, wxRibbonBarEventHandler(fn))
|
2012-09-15 19:19:59 -04:00
|
|
|
#define EVT_RIBBONBAR_HELP_CLICK(winid, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_RIBBONBAR_HELP_CLICK, winid, wxRibbonBarEventHandler(fn))
|
2009-09-16 08:06:02 -04:00
|
|
|
#else
|
|
|
|
|
|
|
|
// wxpython/swig event work
|
2013-04-25 06:11:03 -04:00
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_PAGE_CHANGED;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_PAGE_CHANGING;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_TAB_MIDDLE_DOWN;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_TAB_MIDDLE_UP;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_TAB_RIGHT_DOWN;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_TAB_RIGHT_UP;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_TAB_LEFT_DCLICK;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_TOGGLED;
|
|
|
|
%constant wxEventType wxEVT_RIBBONBAR_HELP_CLICK;
|
2009-09-16 08:06:02 -04:00
|
|
|
|
|
|
|
%pythoncode {
|
2013-04-25 06:11:03 -04:00
|
|
|
EVT_RIBBONBAR_PAGE_CHANGED = wx.PyEventBinder( wxEVT_RIBBONBAR_PAGE_CHANGED, 1 )
|
|
|
|
EVT_RIBBONBAR_PAGE_CHANGING = wx.PyEventBinder( wxEVT_RIBBONBAR_PAGE_CHANGING, 1 )
|
|
|
|
EVT_RIBBONBAR_TAB_MIDDLE_DOWN = wx.PyEventBinder( wxEVT_RIBBONBAR_TAB_MIDDLE_DOWN, 1 )
|
|
|
|
EVT_RIBBONBAR_TAB_MIDDLE_UP = wx.PyEventBinder( wxEVT_RIBBONBAR_TAB_MIDDLE_UP, 1 )
|
|
|
|
EVT_RIBBONBAR_TAB_RIGHT_DOWN = wx.PyEventBinder( wxEVT_RIBBONBAR_TAB_RIGHT_DOWN, 1 )
|
|
|
|
EVT_RIBBONBAR_TAB_RIGHT_UP = wx.PyEventBinder( wxEVT_RIBBONBAR_TAB_RIGHT_UP, 1 )
|
|
|
|
EVT_RIBBONBAR_TAB_LEFT_DCLICK = wx.PyEventBinder( wxEVT_RIBBONBAR_TAB_LEFT_DCLICK, 1 )
|
|
|
|
EVT_RIBBONBAR_TOGGLED = wx.PyEventBinder( wxEVT_RIBBONBAR_TOGGLED, 1 )
|
|
|
|
EVT_RIBBONBAR_HELP_CLICK = wx.PyEventBinder( wxEVT_RIBBONBAR_HELP_CLICK, 1 )
|
2009-09-16 08:06:02 -04:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2013-04-25 06:11:03 -04:00
|
|
|
// old wxEVT_COMMAND_* constants
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGED wxEVT_RIBBONBAR_PAGE_CHANGED
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGING wxEVT_RIBBONBAR_PAGE_CHANGING
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN wxEVT_RIBBONBAR_TAB_MIDDLE_DOWN
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP wxEVT_RIBBONBAR_TAB_MIDDLE_UP
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN wxEVT_RIBBONBAR_TAB_RIGHT_DOWN
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP wxEVT_RIBBONBAR_TAB_RIGHT_UP
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_TAB_LEFT_DCLICK wxEVT_RIBBONBAR_TAB_LEFT_DCLICK
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_TOGGLED wxEVT_RIBBONBAR_TOGGLED
|
|
|
|
#define wxEVT_COMMAND_RIBBONBAR_HELP_CLICKED wxEVT_RIBBONBAR_HELP_CLICK
|
|
|
|
|
2009-09-16 08:06:02 -04:00
|
|
|
#endif // wxUSE_RIBBON
|
|
|
|
|
|
|
|
#endif // _WX_RIBBON_BAR_H_
|
|
|
|
|