wx.EVT_TOOL_RCLICKED

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • g.franzkowiak

    #1

    wx.EVT_TOOL_RCLICKED

    Hi everybody,

    I want use wx.EVT_TOOL_RCL ICKED for an toolbar, but I've got no
    responcses under Linux.

    The following part works under MSW, but under Linux..., the
    "wx.EVT_TOOL_RC LICKED" generate nothing:

    tb.AddTool(TB_I D, './*.png',isToggle =True)
    self.Bind(wx.EV T_TOOL, self.OnToolLeft Click, id=TB_ID)
    self.Bind(wx.EV T_TOOL_RCLICKED , self.OnToolRigh tClick, id=TB_ID)


    Can somebody help ?

    gerd


    PS:

    System parts:

    wxPython 2.6.3.2
    (wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.27)
    Running on Python 2.3.5

    AND

    wxPython 2.6.1.2pre
    (wxGTK, unicode, gtk2, wx-assertions-off)
    Running on Python 2.4.3

Working...