summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-07-24 00:44:16 +0300
committerGitHub <noreply@github.com>2025-07-24 00:44:16 +0300
commit9df3b30479e35f0a301d8871582b95e4e2caab7c (patch)
treeec503a1241eda13b633f0313ddfed64b49da2af8
parent0c89d06ec2441f035c8de4abc9c6545f9fe9ee66 (diff)
#4424 don't try to update theme too early
-rw-r--r--indra/llwindow/llwindowwin32.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index d97d6e0bb2..76d72fe725 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -859,6 +859,7 @@ LLWindowWin32::LLWindowWin32(LLWindowCallbacks* callbacks,
// Initialize (boot strap) the Language text input management,
// based on the system's (or user's) default settings.
allowLanguageTextInput(NULL, false);
+ updateWindowTheme();
}
@@ -1829,8 +1830,6 @@ void LLWindowWin32::recreateWindow(RECT window_rect, DWORD dw_ex_style, DWORD dw
mhDC = pair.second;
sWindowHandleForMessageBox = mWindowHandle;
-
- updateWindowTheme();
}
void* LLWindowWin32::createSharedContext()