X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=libede%2Fsrc%2FFileSystemBox.ec;h=aa2d30440a478f8eaa4926a43e55d3683b6454d3;hp=2a397ae8403d1fef6a994d68d4b3c6c6ec60a48e;hb=af726215c6576ef2134150ca2c4a4f2f12d9f4eb;hpb=16f27583a12f8a423a25028164201d43e4acc40e diff --git a/libede/src/FileSystemBox.ec b/libede/src/FileSystemBox.ec index 2a397ae..aa2d304 100644 --- a/libede/src/FileSystemBox.ec +++ b/libede/src/FileSystemBox.ec @@ -8,7 +8,7 @@ static char * rootName = "File System"; #endif private: -define guiApp = ((GuiApplication)__thisModule); // how to do this in a dll? +define guiApp = (GuiApplication)((__thisModule).application); define selectionColor = guiApp.currentSkin.selectionColor; //Color { 10, 36, 106 }; static char * fileIconNames[] = @@ -413,7 +413,8 @@ private: bool NotifyDoubleClick(ListBox listBox, int x, int y, Modifiers mods) { - return OpenNode(); + OpenNode(); + return false; } bool NotifyKeyDown(ListBox listBox, DataRow row, Key key, unichar ch) @@ -1930,7 +1931,7 @@ public: //surface.WriteTextDots(alignment, x + textOffset, y + 2, width - textOffset, name, strlen(name)); surface.WriteTextDots(alignment, xStart, y + 2, width, label, len); - //if(!guiApp.textMode) -- how to do this in a dll? + if(!guiApp.textMode) { if(displayFlags.current) {