<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font size="-1">Thanks Dan, that's it!<br>
      <br>
      /Joakim<br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">Dan Gudmundsson skrev 2014-09-26 07:12:<br>
    </div>
    <blockquote
cite="mid:CANX4uuO0cVzHvPQ6tA3nqHjr+6=QWd_+gk=CO_pesG+eP9-u2w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hej Joakim
        <div><br>
        </div>
        <div>If you take a look at <a moz-do-not-send="true"
            href="http://docs.wxwidgets.org/2.8.12/wx_wxtoolbar.html">http://docs.wxwidgets.org/2.8.12/wx_wxtoolbar.html</a><br>
        </div>
        <div><br>
        </div>
        <div>EVT_TOOL(id, func)<span class="" style="white-space:pre"> </span>Process
          a wxEVT_COMMAND_TOOL_CLICKED event (a synonym for
          wxEVT_COMMAND_MENU_SELECTED). Pass the id of the tool.<br>
        </div>
        <div><br>
        </div>
        <div>So command_menu_selected should work..</div>
        <div><br>
        </div>
        <div>I have not find a way to generate this into the
          documentation, which is kind of stupid now that I I think
          about it. If I get some time I will try to do it.</div>
        <div><br>
        </div>
        <div>/Dan</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Sep 25, 2014 at 10:44 PM,
          Joakim Hirsch <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:joakim@snookerhallen.se" target="_blank">joakim@snookerhallen.se</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> <font size="-1">Hi
                everyone,<br>
                <br>
                I've added a wxToolBar to my gui, but I can't seem to
                find the proper command type to connect to. I've found 2
                types that are related to toolbars: </font><small><span>command_tool_rclicked

                  and command_tool_enter. I'm able to receive both, but
                  there doesn't seem to be a type for left clicking. My
                  best guess is that it should be named </span></small><small><span>command_tool_clicked,
                  but that causes an error when trying to connect. Is it
                  missing, or is it called something else and I'm just
                  not able to find it?<br>
                  <br>
                  Regards,<br>
                  Joakim<br>
                </span></small> </div>
            <br>
            _______________________________________________<br>
            erlang-questions mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
            <a moz-do-not-send="true"
              href="http://erlang.org/mailman/listinfo/erlang-questions"
              target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>