ui.cpp bugfix

This commit is contained in:
Markus Gans 2017-11-19 19:53:43 +01:00
parent d8759ff51d
commit a2061786c8
1 changed files with 21 additions and 18 deletions

View File

@ -300,21 +300,24 @@ class MyDialog : public FDialog
void cb_setInput (FWidget*, data_ptr); void cb_setInput (FWidget*, data_ptr);
// Data Members // Data Members
FMenuItem* Open; FMenuItem* Open;
FMenuItem* Quit; FMenuItem* Quit;
FMenuItem* File1; FMenuItem* File1;
FMenuItem* File2; FMenuItem* File2;
FMenuItem* File3; FMenuItem* File3;
FMenuItem* Cut; FMenuItem* Cut;
FMenuItem* Copy; FMenuItem* Copy;
FMenuItem* Paste; FMenuItem* Paste;
FMenuItem* Clear; FMenuItem* Clear;
FMenuItem* Env; FMenuItem* Env;
FMenuItem* Drive; FMenuItem* Drive;
FMenuItem* Help; FMenuItem* Help;
FLineEdit* myLineEdit; FStatusKey* key_F1;
FListBox* myList; FStatusKey* key_F2;
FString clipboard; FStatusKey* key_F3;
FLineEdit* myLineEdit;
FListBox* myList;
FString clipboard;
}; };
#pragma pack(pop) #pragma pack(pop)
@ -487,9 +490,9 @@ void MyDialog::initStatusBar()
FStatusBar* statusbar = new FStatusBar (this); FStatusBar* statusbar = new FStatusBar (this);
// Statusbar keys // Statusbar keys
FStatusKey* key_F1 = new FStatusKey (fc::Fkey_f1, "About", statusbar); key_F1 = new FStatusKey (fc::Fkey_f1, "About", statusbar);
FStatusKey* key_F2 = new FStatusKey (fc::Fkey_f2, "View", statusbar); key_F2 = new FStatusKey (fc::Fkey_f2, "View", statusbar);
FStatusKey* key_F3 = new FStatusKey (fc::Fkey_f3, "Quit", statusbar); key_F3 = new FStatusKey (fc::Fkey_f3, "Quit", statusbar);
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------