Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code for application to display XCCalendarDay on it's own
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 26 Jun 2016 14:32:19 +0000 (15:32 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 26 Jun 2016 14:32:19 +0000 (15:32 +0100)
source/tests/xestiacalendar_testxccalendarday.cpp [new file with mode: 0644]

diff --git a/source/tests/xestiacalendar_testxccalendarday.cpp b/source/tests/xestiacalendar_testxccalendarday.cpp
new file mode 100644 (file)
index 0000000..8a5b016
--- /dev/null
@@ -0,0 +1,32 @@
+#include <wx/wx.h>
+#include "../widgets/XCCalendarDay.h"
+
+class XCCalendarDayTest: public wxApp
+{
+    virtual bool OnInit();
+};
+
+/*class MyFrame: public wxFrame
+{
+       private:
+               XCCalendarDay *XCCalWidget = nullptr;
+               wxBoxSizer *WindowSizer = new wxBoxSizer(wxVERTICAL);
+       public:
+               MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
+};*/
+
+IMPLEMENT_APP(XCCalendarDayTest);
+
+using namespace std;
+
+bool XCCalendarDayTest::OnInit()
+{
+       
+       XCCalendarDay *frmMain = new XCCalendarDay(NULL, "XCCalendarDay Test", wxPoint(50, 50), wxSize(200, 200) );
+       
+       frmMain->Show();
+       SetTopWindow(frmMain);
+       
+       return true;
+       
+}
\ No newline at end of file
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy