aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules')
-rw-r--r--demos/modules/gwin/widgets/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index 0dec7275..dde955f3 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -262,10 +262,6 @@ int main(void) {
// Initialize the display
gfxInit();
- #if GDISP_NEED_CONTROL
- gdispSetOrientation(GDISP_ROTATE_90);
- #endif
-
// Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
@@ -276,6 +272,10 @@ int main(void) {
gwinAttachMouse(0);
#endif
+ #if GDISP_NEED_CONTROL
+ gdispSetOrientation(GDISP_ROTATE_90);
+ #endif
+
// Create the gwin windows/widgets
createWidgets();