Mercurial > dwindows
comparison dwtestoo.cpp @ 2868:5ee1aaa48fc7
C++: The last signal handler change only worked with Clang/LLVM.
Less desirable but cross platform solution, attach all signal handlers on
widget creation, when called if not overridden remove the unused handler.
Started the work of filling in the widget classes and functions.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 18 Dec 2022 11:40:22 +0000 |
parents | ada74f4d3f39 |
children | c873b6f862b9 |
comparison
equal
deleted
inserted
replaced
2867:ada74f4d3f39 | 2868:5ee1aaa48fc7 |
---|---|
1 #include <dw.hpp> | 1 #include <dw.hpp> |
2 | 2 |
3 class MyWindow : public DW::Window<MyWindow> | 3 class MyWindow : public DW::Window |
4 { | 4 { |
5 public: | 5 public: |
6 MyWindow() { | 6 MyWindow() { |
7 SetText("Basic application"); | 7 SetText("Basic application"); |
8 SetSize(200, 200); | 8 SetSize(200, 200); |