- port to MinGw : hardcoded user home folder. This must be fixed in future for portability
git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@171 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+3
-3
@@ -8,7 +8,7 @@
|
||||
==============================================================================
|
||||
*/
|
||||
#include <Shlobj.h>
|
||||
#include <Knownfolders.h>
|
||||
//#include <Knownfolders.h>
|
||||
|
||||
#include "../JuceLibraryCode/JuceHeader.h"
|
||||
#include "MainComponent.h"
|
||||
@@ -70,9 +70,9 @@ public:
|
||||
DocumentWindow::allButtons)
|
||||
{
|
||||
PWSTR path;
|
||||
SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path);
|
||||
// SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path);
|
||||
|
||||
static String pathStr(path);
|
||||
static String pathStr("C:\\Users\\jens");
|
||||
setContentOwned (new MainComponent(pathStr), true);
|
||||
|
||||
centreWithSize (getWidth(), getHeight());
|
||||
|
||||
Reference in New Issue
Block a user