From 86ec58bf1456a6349e3ac162387a630a8ffb11d7 Mon Sep 17 00:00:00 2001 From: Tametomo Date: Tue, 21 Apr 2009 15:42:11 -0600 Subject: Set default focuses on the BuySell dialog, the Buy dialog, and the Sell dialog to reduce the amount of needed tabbing by the user when using the keyboard to use these dialogs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tametomo Signed-off-by: Bjørn Lindeijer --- src/gui/buysell.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/buysell.h') diff --git a/src/gui/buysell.h b/src/gui/buysell.h index ab6d0c92..13fbea8c 100644 --- a/src/gui/buysell.h +++ b/src/gui/buysell.h @@ -53,6 +53,9 @@ class BuySellDialog : public Window, public gcn::ActionListener * Called when receiving actions from the widgets. */ void action(const gcn::ActionEvent &event); + + private: + gcn::Button* buyButton; }; extern BuySellDialog *buySellDialog; -- cgit v1.2.3-70-g09d2