don't show strings before we've set up ThemeManager to be able to show something localized
This commit is contained in:
@@ -103,14 +103,13 @@ void LoadingWindow_Win32::SetIcon( const RageSurface *pIcon )
|
||||
SetClassLong( hwnd, GCL_HICON, (LONG) m_hIcon );
|
||||
}
|
||||
|
||||
static LocalizedString ENTER_MAIN_TITLE ("LoadingWindow_Win32","Initializing hardware...");
|
||||
LoadingWindow_Win32::LoadingWindow_Win32()
|
||||
{
|
||||
m_hIcon = NULL;
|
||||
hwnd = CreateDialog( handle.Get(), MAKEINTRESOURCE(IDD_LOADING_DIALOG), NULL, WndProc );
|
||||
for( unsigned i = 0; i < 3; ++i )
|
||||
text[i] = "ABC"; /* always set on first call */
|
||||
SetText( ENTER_MAIN_TITLE );
|
||||
SetText( "" );
|
||||
Paint();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user