diff options
Diffstat (limited to 'ktouch')
| -rw-r--r-- | ktouch/src/ktouchcoloreditor.h | 2 | ||||
| -rw-r--r-- | ktouch/src/ktouchkeyboardeditor.h | 2 | ||||
| -rw-r--r-- | ktouch/src/ktouchlectureeditor.h | 2 | ||||
| -rw-r--r-- | ktouch/src/ktouchopenrequest.h | 2 | ||||
| -rw-r--r-- | ktouch/training/german2.ktouch.xml | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/ktouch/src/ktouchcoloreditor.h b/ktouch/src/ktouchcoloreditor.h index d411f043..731eb57a 100644 --- a/ktouch/src/ktouchcoloreditor.h +++ b/ktouch/src/ktouchcoloreditor.h @@ -31,7 +31,7 @@ class KTouchColorEditor : public KTouchColorEditorDlg public: /// Constructor - KTouchColorEditor(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KTouchColorEditor(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); /// Destructor ~KTouchColorEditor(); diff --git a/ktouch/src/ktouchkeyboardeditor.h b/ktouch/src/ktouchkeyboardeditor.h index b4eba3f7..f473ab2d 100644 --- a/ktouch/src/ktouchkeyboardeditor.h +++ b/ktouch/src/ktouchkeyboardeditor.h @@ -45,7 +45,7 @@ class KTouchKeyboardEditor : public KTouchKeyboardEditorDlg { public: /// Constructor. - KTouchKeyboardEditor(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KTouchKeyboardEditor(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); /// Default destructor. ~KTouchKeyboardEditor() {} /// Shows and executes the dialog (argument is the url to the default or diff --git a/ktouch/src/ktouchlectureeditor.h b/ktouch/src/ktouchlectureeditor.h index dc25069c..972357e6 100644 --- a/ktouch/src/ktouchlectureeditor.h +++ b/ktouch/src/ktouchlectureeditor.h @@ -44,7 +44,7 @@ class KTouchLectureEditor : public KTouchLectureEditorDlg { public: /// Constructor - KTouchLectureEditor(TQWidget *parent, const char* name = 0, bool modal = FALSE, WFlags fl = 0); + KTouchLectureEditor(TQWidget *parent, const char* name = 0, bool modal = false, WFlags fl = 0); /// Destructor ~KTouchLectureEditor() {} /// Shows and executes the dialog (argument is the url to the default or diff --git a/ktouch/src/ktouchopenrequest.h b/ktouch/src/ktouchopenrequest.h index 34d90718..849c157a 100644 --- a/ktouch/src/ktouchopenrequest.h +++ b/ktouch/src/ktouchopenrequest.h @@ -56,7 +56,7 @@ class KTouchOpenRequest : public KTouchOpenRequestDlg { public: /// Default constructor. - KTouchOpenRequest(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KTouchOpenRequest(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); /// Default destructor. ~KTouchOpenRequest() {} /// Sets up the dialog and runs it. diff --git a/ktouch/training/german2.ktouch.xml b/ktouch/training/german2.ktouch.xml index e201a0ce..0c3af5ee 100644 --- a/ktouch/training/german2.ktouch.xml +++ b/ktouch/training/german2.ktouch.xml @@ -1026,7 +1026,7 @@ Version: 0.1 beta <Line>Info_Dialog::Info_Dialog(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition,</Line> <Line>const wxSize& size =wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = "dialogBox") : wxDialog(parent, id, title, pos, size, style, name)</Line> <Line>{</Line> - <Line> SetAutoLayout(TRUE);</Line> + <Line> SetAutoLayout(true);</Line> <Line> #ifdef __WXMSW__</Line> <Line> wxBitmap::AddHandler(new wxPNGFileHandler);</Line> <Line> #endif</Line> @@ -1099,7 +1099,7 @@ Version: 0.1 beta <Line> wxPaintDC dc(this);</Line> <Line> wxMemoryDC memDC;</Line> <Line> memDC.SelectObject(* logo);</Line> - <Line> dc.Blit(5, 25, logo->GetWidth(), logo->GetHeight(), & memDC, 0, 0, wxCOPY, TRUE);</Line> + <Line> dc.Blit(5, 25, logo->GetWidth(), logo->GetHeight(), & memDC, 0, 0, wxCOPY, true);</Line> <Line> memDC.SelectObject(wxNullBitmap);</Line> <Line>}</Line> </Level> |
