|
wxMaxima
|
A wxTextCtrl with parenthesis matching. More...
#include <BTextCtrl.h>
Public Member Functions | |
| BTextCtrl (wxWindow *parent, wxWindowID id, Configuration *cfg, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0) | |
| void | SetSkipTab (bool skip) |
Static Public Member Functions | |
| static wxTextCtrl * | LastActive () |
| The last BTextCtrl that got the keyboard focus, if it still exists. | |
| static void | ForgetLastActive () |
| Route sidebar button presses back to the worksheet again. | |
A wxTextCtrl with parenthesis matching.
|
inlinestatic |
The last BTextCtrl that got the keyboard focus, if it still exists.
The symbols sidebars use this to route their button presses: if a text control (e.g. a wizard field) had the focus last, the symbol is inserted there instead of into the worksheet.
Held as a wxWeakRef, which nulls itself when the control is destroyed: a closed wizard can therefore never leave a dangling pointer here, and no destructor needs to unregister the control anywhere (unregistering via the Configuration object crashed on shutdown when the Configuration died first, see issue #2027).