Fixed OpenGL preflet, I missed an important part of its internationalization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34777 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
* Artur Wyszynski <[email protected]>
|
* Artur Wyszynski <[email protected]>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <Locale.h>
|
||||||
|
|
||||||
#include "OpenGLApp.h"
|
#include "OpenGLApp.h"
|
||||||
#include "OpenGLWindow.h"
|
#include "OpenGLWindow.h"
|
||||||
|
|
||||||
@@ -24,6 +26,7 @@ OpenGLApp::~OpenGLApp()
|
|||||||
void
|
void
|
||||||
OpenGLApp::ReadyToRun()
|
OpenGLApp::ReadyToRun()
|
||||||
{
|
{
|
||||||
|
be_locale->GetAppCatalog(&fCatalog);
|
||||||
fWindow = new OpenGLWindow();
|
fWindow = new OpenGLWindow();
|
||||||
fWindow->Show();
|
fWindow->Show();
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
|
#include <Catalog.h>
|
||||||
#include "OpenGLWindow.h"
|
#include "OpenGLWindow.h"
|
||||||
|
|
||||||
|
|
||||||
@@ -23,6 +24,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
OpenGLWindow* fWindow;
|
OpenGLWindow* fWindow;
|
||||||
|
BCatalog fCatalog;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* OPENGL_APP_H_ */
|
#endif /* OPENGL_APP_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user