mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
- Hardcode the Window Class string, there is no reason for it to be in localized resource files
- Remove duplicate header inclusions svn path=/trunk/; revision=28553
This commit is contained in:
parent
1fe725113b
commit
9bb0ac0bd6
5 changed files with 2 additions and 11 deletions
|
@ -61,5 +61,4 @@ END
|
|||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_APP_TITLE "Bildschirm-Lupe"
|
||||
IDC_MAGNIFIER "BILDSCHIRM-LUPE"
|
||||
END
|
||||
|
|
|
@ -61,5 +61,4 @@ END
|
|||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_APP_TITLE "Magnifier"
|
||||
IDC_MAGNIFIER "MAGNIFIER"
|
||||
END
|
||||
|
|
|
@ -61,5 +61,4 @@ END
|
|||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_APP_TITLE "Loupe"
|
||||
IDC_MAGNIFIER "LOUPE"
|
||||
END
|
||||
|
|
|
@ -69,5 +69,4 @@ END
|
|||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_APP_TITLE "Åêðàííà ëóïà"
|
||||
IDC_MAGNIFIER "MAGNIFIER"
|
||||
END
|
||||
|
|
|
@ -8,15 +8,12 @@
|
|||
*/
|
||||
|
||||
#include <windows.h>
|
||||
//#include <stdio.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
#include "shellapi.h"
|
||||
#include "windows.h"
|
||||
|
||||
#include "magnifier.h"
|
||||
#include "resource.h"
|
||||
|
||||
const TCHAR szWindowClass[] = TEXT("MAGNIFIER");
|
||||
|
||||
#define MAX_LOADSTRING 100
|
||||
|
||||
// Global Variables:
|
||||
|
@ -24,7 +21,6 @@ HINSTANCE hInst; // current instance
|
|||
HWND hMainWnd;
|
||||
|
||||
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
|
||||
TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name
|
||||
|
||||
#define REPAINT_SPEED 100
|
||||
|
||||
|
@ -57,7 +53,6 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin
|
|||
|
||||
// Initialize global strings
|
||||
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
|
||||
LoadString(hInstance, IDC_MAGNIFIER, szWindowClass, MAX_LOADSTRING);
|
||||
MyRegisterClass(hInstance);
|
||||
|
||||
// Perform application initialization:
|
||||
|
|
Loading…
Reference in a new issue